cve.bz

CVE-2022-4645 Out-of-bounds Read

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
LibTIFF 4.4.0 has an out-of-bounds read in tiffcp in tools/tiffcp.c:948, 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 e8131125.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/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-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-05. 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-2022-4645 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-4645?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-4645?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-2022-4645 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
fedoraproject:fedora36
fedoraproject:fedora37
fedoraproject:fedora38
libtiff:libtifffrom 3.5.1 through 4.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11tiff4.2.0-1+deb11u3DSA-5333-1
Debian12, 13, 14tiff4.4.0-5DEBIAN-CVE-2022-4645
Ubuntu18.04:LTStiff4.0.9-5ubuntu0.8UBUNTU-CVE-2022-4645
Ubuntu20.04:LTStiff4.1.0+git191117-2ubuntu0.20.04.6UBUNTU-CVE-2022-4645
Ubuntu22.04:LTStiff4.3.0-6ubuntu0.2UBUNTU-CVE-2022-4645
UbuntuPro:14.04:LTStiff4.0.3-7ubuntu0.11+esm5UBUNTU-CVE-2022-4645
UbuntuPro:16.04:LTStiff4.0.6-1ubuntu0.8+esm7UBUNTU-CVE-2022-4645
Red Hatenterprise_linux:8::appstreamlibtiff, libtiff-devel, libtiff-debuginfo and 2 more0:4.0.9-31.el8RHSA-2024:3059
Red Hatenterprise_linux:8::crblibtiff-tools, libtiff-debuginfo, libtiff-debugsource and 1 more0:4.0.9-31.el8RHSA-2024:3059
Red Hatenterprise_linux:9::appstreamlibtiff, libtiff-devel, libtiff-debuginfo and 2 more0:4.4.0-7.el9RHSA-2023:2340
Red Hatenterprise_linux:9::crblibtiff-tools, libtiff-debuginfo, libtiff-debugsource and 1 more0:4.4.0-7.el9RHSA-2023:2340
AlmaLinux8libtiff, libtiff-devel, libtiff-tools4.0.9-31.el8ALSA-2024:3059
AlmaLinux9libtiff, libtiff-devel, libtiff-tools4.4.0-7.el9ALSA-2023:2340
Rocky Linux8libtiff0:4.0.9-31.el8RLSA-2024:3059
Alpinev3.17tiff4.4.0-r2ALPINE-CVE-2022-4645
Azure Linux2libtiff4.5.0-1AZL-13826
Azure Linux2openjpeg2no fix listedAZL-43561
Azure Linux3openjpeg2no fix listedAZL-44667

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; 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 · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

libtiff is a general purpose library to manipulate TIFF images. The library itself is not used directly, it's used via another application linked with the library, which means this issue can only be triggered by an application processing untrusted images. Therefore, if there is no way an attacker can provide a crafted image to an application, it's likely not possible to exploit this CVE.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libtiff-0:4.0.9-31.el8Fixed 2024-05-22RHSA-2024:3059
Red Hat Enterprise Linux 9libtiff-0:4.4.0-7.el9Fixed 2023-05-09RHSA-2023:2340
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

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-2022-4645.

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