Home / libtiff / libtiff / CVE-2022-2058
CVE-2022-2058: is it exploited, and which versions of libtiff are affected and fixed?
CVE-2022-2058 is a divide by zero vulnerability in libtiff. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: libtiff =4.4.0 (CVE record by GitLab). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.5, CVSS 3.1, from GitLab).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:47 UTC.
What is CVE-2022-2058?
Divide By Zero error in tiffcrop in libtiff 4.4.0 allows attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit f3a5e010.
From the CVE record by GitLab, last updated August 3, 2024, 00:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libtiff | libtiff | =4.4.0 |
As the CVE record by GitLab states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libtiff | libtiff | 4.4.0 | application |
| netapp | active iq unified manager | all versions | application |
| fedoraproject | fedora | 35 | operating system |
| fedoraproject | fedora | 36 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:41 UTC.
How severe is CVE-2022-2058?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | GitLab |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-2058 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.32% probability of exploitation activity in the next 30 days, percentile 71.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-369 Divide By Zero
Where are the vendor advisories and references?
- https://gitlab.com/libtiff/libtiff/-/issues/428
- https://gitlab.com/libtiff/libtiff/-/merge_requests/346
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2058.json
- FEDORA-2022-edf7301147 vendor-advisory
- FEDORA-2022-b9c2a3a2b7 vendor-advisory
- https://security.netapp.com/advisory/ntap-20220826-0001/
- [debian-lts-announce] 20230120 [SECURITY] [DLA 3278-1] tiff security update mailing-list
- DSA-5333 vendor-advisory
When was it published, and where is the official record?
- Reserved
- June 13, 2022
- Published
- June 30, 2022, 00:00 UTC
- CVE record updated
- August 3, 2024, 00:24 UTC by GitLab
- NVD
- Modified, last modified June 17, 2026, 04:41 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:47 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect libtiff?
- Feb 23, 2026CVE-2025-61145 Libtiff: double free
- Feb 23, 2026CVE-2025-61144 Libtiff: memory corruption (buffer overflow)
- Feb 23, 2026CVE-2025-61143 Libtiff: NULL pointer dereference (crash)
- Aug 19, 2025CVE-2025-9165 LibTIFF: memory leak disputed
- Aug 14, 2025CVE-2025-8961 LibTIFF: memory corruption (buffer overflow)
- Aug 11, 2025CVE-2025-8851 LibTIFF: stack buffer overflow
- Aug 4, 2025CVE-2025-8534 libtiff: NULL pointer dereference (crash)
- Aug 1, 2025CVE-2024-13978 LibTIFF: NULL pointer dereference (crash)
Questions about CVE-2022-2058
Is CVE-2022-2058 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 1.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of libtiff are affected by CVE-2022-2058?
libtiff =4.4.0, per the CVE record by GitLab. The tables above give every range the sources list.
Which version fixes CVE-2022-2058?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2022-2058?
Medium (5.5, CVSS 3.1, from GitLab). The severity table above shows each score with its source.
Where is the official record of CVE-2022-2058?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.