Medium severity · published May 17, 2023
CVE-2023-2731
A NULL pointer dereference flaw was found in Libtiff's LZWDecode() function in the libtiff/tif_lzw.c file
5.5
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
libtiff ·
Fixed in libtiff v4.5.0 · source: vendor, NVD
EL
Enterprise Linux · Redhat
9.0 · source: NVD
FE
Fedora · Fedoraproject
38 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-2731
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-2731
Third Party Advisory
https://access.redhat.com/security/cve/CVE-2023-2731
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2207635
Patch
https://github.com/libsdl-org/libtiff/commit/9be22b639ea69e102d3847dca4c53ef025e9527b
Exploit
https://gitlab.com/libtiff/libtiff/-/issues/548
security.netapp.com
https://security.netapp.com/advisory/ntap-20230703-0009/
More from libtiff
8.8
CVE-2022-3970
LibTIFF tif_getimage.c TIFFReadRGBATileExt integer overflow
7.8
CVE-2025-8177
LibTIFF thumbnail.c setrow buffer overflow
7.8
CVE-2025-8176
LibTIFF tiffmedian.c get_histogram use after free
6.5
CVE-2023-3618
Segmentation fault in fax3encode in libtiff/tif_fax3.c
6.5
CVE-2022-2521
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…
