cve.bz

CVE-2023-2731 NULL Pointer Dereference

5.5 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-01-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-2731 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-2731?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-2731?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-2731 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libtiff:libtiffbefore 4.5.0
fedoraproject:fedora38
redhat:enterprise_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14tiff4.5.0-6DEBIAN-CVE-2023-2731
Ubuntu20.04:LTStiff4.1.0+git191117-2ubuntu0.20.04.9USN-6290-1
Ubuntu22.04:LTStiff4.3.0-6ubuntu0.5USN-6290-1
UbuntuPro:14.04:LTStiff4.0.3-7ubuntu0.11+esm9USN-6290-1
UbuntuPro:16.04:LTStiff4.0.6-1ubuntu0.8+esm12USN-6290-1
UbuntuPro:18.04:LTStiff4.0.9-5ubuntu0.10+esm2USN-6290-1
Red Hatenterprise_linux:9::appstreamlibtiff, libtiff-devel, libtiff-debuginfo and 2 more0:4.4.0-10.el9RHSA-2023:6575
Red Hatenterprise_linux:9::crblibtiff-tools, libtiff-debuginfo, libtiff-debugsource and 1 more0:4.4.0-10.el9RHSA-2023:6575
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 16 moretiff4.0.9-150000.45.35.1SUSE-SU-2023:4869-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5tiff4.0.9-44.74.1SUSE-SU-2023:4736-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.3 and 1 moretiff4.0.9-150000.45.35.1SUSE-SU-2023:4869-1
AlmaLinux9libtiff, libtiff-devel, libtiff-tools4.4.0-10.el9ALSA-2023:6575
Azure Linux2libtiff4.5.0-3AZL-26756
Azure Linux2openjpeg2no fix listedAZL-43795
Azure Linux3openjpeg2no fix listedAZL-45003
Alpaquita23tiffno fix listedBELL-CVE-2023-2731
Alpaquitastreamtiff4.5.1-r0BELL-CVE-2023-2731
BellSoft Hardened Containers23tiffno fix listedBELL-CVE-2023-2731
BellSoft Hardened Containersstreamtiff4.5.1-r0BELL-CVE-2023-2731

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9libtiff-0:4.4.0-10.el9Fixed 2023-11-07RHSA-2023:6575
Red Hat Enterprise Linux 6libtiffNot affected
Red Hat Enterprise Linux 7compat-libtiff3Not affected
Red Hat Enterprise Linux 7libtiffNot affected
Red Hat Enterprise Linux 8compat-libtiff3Not affected
Red Hat Enterprise Linux 8libtiffNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-2731.

References

Check your stackJSON