# 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.

- Severity: Medium 5.5 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-30T00:00:00.000Z
- Modified: 2026-06-17T04:41:12.367Z
- Weaknesses: CWE-369
- Assigned by: GitLab

## Description

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.

(As written by CVE List.)

## Affected

- libtiff libtiff: =4.4.0; 4.4.0
- netapp active_iq_unified_manager: no versions given
- fedoraproject fedora: 35; 36
- debian debian_linux: 10.0; 11.0

## Every score

- GitLab: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://gitlab.com/libtiff/libtiff/-/issues/428> (exploit, issue-tracking, patch, third-party-advisory)
- <https://gitlab.com/libtiff/libtiff/-/merge_requests/346> (issue-tracking, patch, third-party-advisory)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2058.json> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TSS7MJ7OO7JO5BNKCRYSFU7UAYOKLA2/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OXUMJXVEAYFWRO3U3YHKSULHIVDOLEQS/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20220826-0001/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/01/msg00018.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2023/dsa-5333> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2022-2058](https://www.cve.org/CVERecord?id=CVE-2022-2058), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2058](https://nvd.nist.gov/vuln/detail/CVE-2022-2058), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2058 · Whole record: https://cve.day/CVE-2022-2058.json · Rebuilt by cve.day 2026-11-25T22:58:12.634Z
