CVE-2023-2731 Null dereference in libtiff

Medium 5.5 Published Updated

A local attacker can cause a denial of service by crafting a TIFF file that triggers a NULL pointer dereference in Libtiff's LZW decoder.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-2731?

CVE-2023-2731 is a medium-severity vulnerability in Fedoraproject Fedora, published on 17 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-476

Which versions are affected by CVE-2023-2731?

It affects 3 products.

Products include Fedoraproject Fedora, Libtiff Libtiff, Redhat Enterprise Linux.

How do I fix CVE-2023-2731?

Apply the vendor's patch.

Is CVE-2023-2731 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2731 exists.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-26756, AZL-43795, AZL-45003, BELL-CVE-2023-2731, DEBIAN-CVE-2023-2731, GHSA-g995-h8wx-7qw6 and 2 more.

Is CVE-2023-2731 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free