CVE-2023-2731

NameCVE-2023-2731
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1036282

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tiff (PTS)jessie, jessie (lts)4.0.3-12.3+deb8u17fixed
stretch (security)4.0.8-2+deb9u8fixed
stretch (lts), stretch4.0.8-2+deb9u12fixed
buster (security), buster, buster (lts)4.1.0+git191117-2~deb10u9fixed
bullseye (security), bullseye4.2.0-1+deb11u5fixed
bookworm (security), bookworm4.5.0-6+deb12u1fixed
sid, trixie4.5.1+git230720-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tiffsourcejessie(not affected)
tiffsourcestretch(not affected)
tiffsourcebuster(not affected)
tiffsourcebullseye(not affected)
tiffsource(unstable)4.5.0-61036282

Notes

[bullseye] - tiff <not-affected> (Vulnerable code introduced later)
[buster] - tiff <not-affected> (Vulnerable code introduced later)
https://gitlab.com/libtiff/libtiff/-/issues/548
Fixed by: https://gitlab.com/libtiff/libtiff/-/commit/9be22b639ea69e102d3847dca4c53ef025e9527b (v4.5.1rc1)
Introduced by: https://gitlab.com/libtiff/libtiff/-/commit/3079627ea0dee150e6a208cec8381de611bb842b (v4.4.0rc1)
[stretch] - tiff <not-affected> (Vulnerable code introduced later)
[jessie] - tiff <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems