CVE-2023-2731 json
A NULL pointer dereference flaw was found in Libtiff's LZWDecode() function in the...
published 2023-05-17 3 y ago modified 2026-07-25 3 mo ago also EUVD-2023-34192 , JLSEC-2025-303
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
A NULL pointer dereference flaw was found in Libtiff's LZWDecode() function in the libtiff/tif_lzw.c file. This flaw allows a local attacker to craft specific input data that can cause the program to dereference a NULL pointer when decompressing a TIFF format file, resulting in a program crash or denial of service.
Patch / fix
- julia Libtiff_jll 4.5.1+0
- libtiff libtiff 4.5.0
- tiff Debian 14, Debian 13, Debian 12 4.5.0-6
debian advisories DEBIAN-CVE-2023-2731
- libtiff RHEL 9 4.4.0-10.el9
- libtiff-tools RHEL 9 4.4.0-10.el9
red hat advisories RHSA-2023:6575
- tiff SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +20 more 4.0.9-150000.45.35.1
- tiff SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 4.0.9-44.74.1
suse advisories SUSE-SU-2023:4869-1SUSE-SU-2023:4736-1
- libtiff AlmaLinux 9 4.4.0-10.el9
- libtiff-tools AlmaLinux 9 4.4.0-10.el9
almalinux advisories ALSA-2023:6575
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-2023-2731 updated cvss 5.5
libtiff: null pointer deference in LZWDecode() in libtiff/tif_lzw.c
-
Red Hat CodeReady Linux Builder (v. 9) libtiff-tools 4.4.0-10.el9 Red Hat Enterprise Linux AppStream (v. 9) libtiff 4.4.0-10.el9fixed: vendor fix RHSA-2023:6575
-
Red Hat Enterprise Linux 6 libtiff Red Hat Enterprise Linux 7 libtiff, libtiff-tools, compat-libtiff3 Red Hat Enterprise Linux 8 libtiff, libtiff-tools, compat-libtiff3not affected: vulnerable code not present
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
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gitlab.com https://gitlab.com/libtiff/libtiff/-/issues/548 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 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 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/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.5.1+0 |
4.5.1+0 |
Affected products
- n/a libtiff
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/libsdl-org/libtiff/commit/9be22b639ea69e102d3847dca4c53ef025e9527b
patch, web
-
gitlab.com
/libtiff/libtiff/-/issues/548
exploit, issue-tracking, patch, third-party-advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2207635
issue-tracking, patch, third-party-advisory, web
-
access.redhat.com
/security/cve/CVE-2023-2731
third-party-advisory, web
-
security.netapp.com
/advisory/ntap-20230703-0009/
web
Sources
- CVE List CVE-2023-2731
- NVD CVE-2023-2731
- OSV JLSEC-2025-303
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.