CVE-2022-2521 json
It was found in libtiff 4.4.0rc1 that there is an invalid pointer free operation in TIFFClose() at tif_close.c:131 called by tiffcrop.c:252…
published 2022-08-31 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-34778
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
It was found in libtiff 4.4.0rc1 that there is an invalid pointer free operation in TIFFClose() at tif_close.c:131 called by tiffcrop.c:2522 that can cause a program crash and denial of service while processing crafted input.
Patch / fix
- tiff Debian 14, Debian 13, Debian 12 4.4.0-6
debian advisories DEBIAN-CVE-2022-2521
- 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 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +26 more 4.0.9-150000.45.16.1
- tiff SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 4.0.9-44.56.1
suse advisories SUSE-SU-2022:3690-1SUSE-SU-2022:3679-1
- tiff openSUSE Tumbleweed 4.4.0-4.1
opensuse advisories openSUSE-SU-2024:12420-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-2521
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#378 pull request
- gitlab.com/libtiff/libtiff/-/issues/422 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-2521 updated cvss 6.5
libtiff: Invalid pointer free operation in TIFFClose() at tif_close.c
-
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 available “Fix deferred”
-
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.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gitlab.com https://gitlab.com/libtiff/libtiff/-/merge_requests/378 referenced PoC, tagged "exploit" by a source, unverified
- gitlab.com https://gitlab.com/libtiff/libtiff/-/issues/422 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- n/a libtiff
Classification
- Weakness
-
- CWE-763 Release of Invalid Pointer or Reference
References
-
gitlab.com
/libtiff/libtiff/-/merge_requests/378
exploit, issue-tracking, patch, third-party-advisory
-
gitlab.com
/libtiff/libtiff/-/issues/422
exploit, issue-tracking, patch, third-party-advisory
-
debian.org
/security/2023/dsa-5333
vendor-advisory, third-party-advisory
Sources
- CVE List CVE-2022-2521
- NVD CVE-2022-2521
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.