CVE-2022-2057 json
Divide By Zero error in tiffcrop in libtiff 4.4.0 allows attackers to cause a denial-of-service via...
published 2022-06-30 4 y ago modified 2026-07-23 3 mo ago also EUVD-2022-34356 , JLSEC-2025-273
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia Libtiff_jll 4.5.1+0
- tiff Debian 14, Debian 13, Debian 12 4.4.0-3
debian advisories DEBIAN-CVE-2022-2057
- tiff Ubuntu 18.04 LTS 4.0.9-5ubuntu0.7
- tiff Ubuntu 20.04 LTS 4.1.0+git191117-2ubuntu0.20.04.5
- tiff Ubuntu 22.04 LTS 4.3.0-6ubuntu0.1
- tiff Ubuntu Pro 14.04 LTS 4.0.3-7ubuntu0.11+esm4
- tiff Ubuntu Pro 16.04 LTS 4.0.6-1ubuntu0.8+esm4
ubuntu advisories UBUNTU-CVE-2022-2057
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libtiff RHEL 8 4.0.9-26.el8_7
- libtiff-tools RHEL 8 4.0.9-26.el8_7
- libtiff RHEL 9 4.4.0-5.el9_1
- libtiff-tools RHEL 9 4.4.0-5.el9_1
red hat advisories RHSA-2023:0095RHSA-2023:0302
- tiff SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 4.0.9-44.51.1
- tiff SLE Module for Package Hub 15 SP4, SLE Module for Package Hub 15 SP3, SLE Module for Desktop Applications 15 SP3 +6 more 4.0.9-150000.45.11.1
suse advisories SUSE-SU-2022:2648-1SUSE-SU-2022:2647-2SUSE-SU-2022:2647-1
- tiff openSUSE Tumbleweed 4.4.0-2.1
opensuse advisories openSUSE-SU-2024:12176-1
- libtiff AlmaLinux 9 4.4.0-5.el9_1
- libtiff-tools AlmaLinux 9 4.4.0-5.el9_1
- libtiff AlmaLinux 8 4.0.9-26.el8_7
- libtiff-tools AlmaLinux 8 4.0.9-26.el8_7
almalinux advisories ALSA-2023:0302ALSA-2023:0095
- libtiff Rocky Linux 9 4.4.0-5.el9_1
- libtiff Rocky Linux 8 4.0.9-26.el8_7
rocky linux advisories RLSA-2023:0302RLSA-2023:0095
- tiff Alpine 3.16, Alpine 3.15 4.4.0-r3
- tiff Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 4.4.0-r1
alpine advisories ALPINE-CVE-2022-2057
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gitlab.com/libtiff/libtiff#346 pull request
- gitlab.com/libtiff/libtiff/-/issues/427 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-2057 updated cvss 5.1
libtiff: division by zero issues in tiffcrop
-
Red Hat Enterprise Linux 6 libtiff Red Hat Enterprise Linux 7 libtiff, libtiff-tools, compat-libtiff3affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 compat-libtiff3affected: no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 8) libtiff-tools 4.0.9-26.el8_7fixed: vendor fix RHSA-2023:0095
-
Red Hat CodeReady Linux Builder (v. 9) libtiff-tools 4.4.0-5.el9_1fixed: vendor fix RHSA-2023:0302
-
Red Hat Enterprise Linux AppStream (v. 8) libtiff 4.0.9-26.el8_7fixed: vendor fix RHSA-2023:0095
-
Red Hat Enterprise Linux AppStream (v. 9) libtiff 4.4.0-5.el9_1fixed: vendor fix RHSA-2023:0302
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.27% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gitlab.com https://gitlab.com/libtiff/libtiff/-/issues/427 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Libtiff_jll | >=4.4.0+0, <4.5.1+0 |
4.5.1+0 |
Affected products
- libtiff libtiff
Classification
- Weakness
-
- CWE-369 Divide By Zero
References
-
gitlab.com
/libtiff/libtiff/-/merge_requests/346
issue-tracking, patch, third-party-advisory, web
-
gitlab.com
/libtiff/libtiff/-/issues/427
exploit, issue-tracking, patch, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/4TSS7MJ7OO7JO5BNKCRYSFU7UAYOKLA2/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/OXUMJXVEAYFWRO3U3YHKSULHIVDOLEQS/
vendor-advisory, web
-
debian.org
/security/2023/dsa-5333
vendor-advisory, third-party-advisory, web
-
gitlab.com
/gitlab-org/cves/-/blob/master/2022/CVE-2022-2057.json
third-party-advisory, web
-
security.netapp.com
/advisory/ntap-20220826-0001/
third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2023/01/msg00018.html
mailing-list, third-party-advisory, web
Sources
- CVE List CVE-2022-2057
- NVD CVE-2022-2057
- OSV JLSEC-2025-273
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.