cve.bz

CVE-2023-0797 libtiff libtiff: Out-of-bounds Read

5.5 mediumExploit referenceEPSS 0.4%Fix available

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

On this page
LibTIFF 4.4.0 has an out-of-bounds read in tiffcrop in libtiff/tif_unix.c:368, invoked by tools/tiffcrop.c:2903 and tools/tiffcrop.c:6921, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit afaabc3e.

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; 37th percentile. Scored 2026-11-22. 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-03-21. 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-125 Out-of-bounds Read
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-0797 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-0797?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-0797?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-0797 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:libtiffthrough 4.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10tiff4.1.0+git191117-2~deb10u7DLA-3333-1
Debian11tiff4.2.0-1+deb11u4DSA-5361-1
Debian12, 13, 14tiff4.5.0-5DEBIAN-CVE-2023-0797
Ubuntu18.04:LTStiff4.0.9-5ubuntu0.10UBUNTU-CVE-2023-0797 USN-5923-1
Ubuntu20.04:LTStiff4.1.0+git191117-2ubuntu0.20.04.8UBUNTU-CVE-2023-0797 USN-5923-1
Ubuntu22.04:LTStiff4.3.0-6ubuntu0.4UBUNTU-CVE-2023-0797 USN-5923-1
UbuntuPro:14.04:LTStiff4.0.3-7ubuntu0.11+esm7UBUNTU-CVE-2023-0797 USN-5923-1
UbuntuPro:16.04:LTStiff4.0.6-1ubuntu0.8+esm10UBUNTU-CVE-2023-0797 USN-5923-1
Red Hatenterprise_linux:9::appstreamlibtiff, libtiff-devel, libtiff-debuginfo and 2 more0:4.4.0-8.el9_2RHSA-2023:3711
Red Hatenterprise_linux:9::crblibtiff-tools, libtiff-debuginfo, libtiff-debugsource and 1 more0:4.4.0-8.el9_2RHSA-2023:3711
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 5 moretiff4.0.9-150000.45.28.1SUSE-SU-2023:2334-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5tiff4.0.9-44.68.1SUSE-SU-2023:2321-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.3tiff4.0.9-150000.45.28.1SUSE-SU-2023:2334-1
openSUSETumbleweedtiff4.5.0-3.1openSUSE-SU-2024:12730-1
AlmaLinux9libtiff, libtiff-devel, libtiff-tools4.4.0-8.el9_2ALSA-2023:3711
Rocky Linux9libtiff0:4.4.0-8.el9_2RLSA-2023:3711
Alpinev3.15, v3.16tiff4.4.0-r2ALPINE-CVE-2023-0797
Alpinev3.17tiff4.4.0-r3ALPINE-CVE-2023-0797
Alpinev3.18, v3.19, v3.20 and 4 moretiff4.5.0-r5ALPINE-CVE-2023-0797
Azure Linux2libtiff4.4.0-8AZL-13393

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; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9libtiff-0:4.4.0-8.el9_2Fixed 2023-06-21RHSA-2023:3711
Red Hat Enterprise Linux 6libtiffOut of support scope
Red Hat Enterprise Linux 7compat-libtiff3Out of support scope
Red Hat Enterprise Linux 7libtiffOut of support scope
Red Hat Enterprise Linux 8compat-libtiff3Will not fix
Red Hat Enterprise Linux 8libtiffWill not fix

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

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON