CVEfocus › CVE database › CVE-2023-2731

CVE-2023-2731

CVSS 5.5 MediumEPSS 0.4% (higher than 29% of CVEs)Published 2023-05-17Updated 2025-01-22Assigner: redhat

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.

CWE-476

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
1Fix pending
13Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04tiffNot affected
vulnerable_code_not_present
Ubuntu 16.04tiffFix pending
Debian 14tiffFixed4.5.0-6DEBIAN-CVE-2023-2731
Debian 13tiffFixed4.5.0-6DEBIAN-CVE-2023-2731
Debian 12tiffFixed4.5.0-6DEBIAN-CVE-2023-2731
Red Hat Enterprise Linux 9libtiffFixed0:4.4.0-10.el9RHSA-2023:6575
Red Hat Enterprise Linux 9libtiff-develFixed0:4.4.0-10.el9RHSA-2023:6575
Red Hat Enterprise Linux 9libtiff-toolsFixed0:4.4.0-10.el9RHSA-2023:6575
Red Hat Enterprise Linux 8compat-libtiff3Not affected
Red Hat Enterprise Linux 8libtiffNot affected
Red Hat Enterprise Linux 8libtiff-develNot affected
Red Hat Enterprise Linux 8libtiff-toolsNot affected
Red Hat Enterprise Linux 7compat-libtiff3Not affected
Red Hat Enterprise Linux 7libtiffNot affected
Red Hat Enterprise Linux 7libtiff-develNot affected
Red Hat Enterprise Linux 7libtiff-staticNot affected
Red Hat Enterprise Linux 7libtiff-toolsNot affected
Red Hat Enterprise Linux 6libtiffNot affected
Red Hat Enterprise Linux 6libtiff-develNot affected
Red Hat Enterprise Linux 6libtiff-staticNot affected
AlmaLinux 9libtiffFixed4.4.0-10.el9ALSA-2023:6575
AlmaLinux 9libtiff-develFixed4.4.0-10.el9ALSA-2023:6575
AlmaLinux 9libtiff-toolsFixed4.4.0-10.el9ALSA-2023:6575

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.