Vulnerability · Published May 17, 2023 · Assigned by redhat

CVE-2023-2731

Medium 5.5

In plain English

A medium-severity null pointer dereference in libtiff. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.4%top 62.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9libtiff4.4.0-10.el9ALSA-2023:6575
AlmaLinux:9libtiff-devel4.4.0-10.el9ALSA-2023:6575
AlmaLinux:9libtiff-tools4.4.0-10.el9ALSA-2023:6575
Debian:12tiff4.5.0-6DEBIAN-CVE-2023-2731
Debian:13tiff4.5.0-6DEBIAN-CVE-2023-2731
Debian:14tiff4.5.0-6DEBIAN-CVE-2023-2731
Ubuntu:22.04:LTStiff4.3.0-6ubuntu0.5USN-6290-1
Ubuntu:22.04:LTStiff4.3.0-6ubuntu0.10UBUNTU-CVE-2023-2731

Affected products (as reported)

VendorProductVersions
n/a libtiff Fixed in libtiff v4.5.0

Weakness: CWE-476 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References