cve.bz

CVE-2022-2868 Improper Input Validation

5.5 mediumEPSS 0.3%Fix available

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

On this page
libtiff's tiffcrop utility has a improper input validation flaw that can lead to out of bounds read and ultimately cause a crash if an attacker is able to supply a crafted file to tiffcrop.

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.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-1284 Improper Validation of Specified Quantity in Input
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
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-2868 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2868?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2868?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-2868 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.4.0
fedoraproject:fedora35
fedoraproject:fedora36
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10tiff4.1.0+git191117-2~deb10u5DLA-3278-1
Debian11tiff4.2.0-1+deb11u3DSA-5333-1
Debian12, 13, 14tiff4.4.0~rc1-1DEBIAN-CVE-2022-2868
Ubuntu18.04:LTStiff4.0.9-5ubuntu0.8UBUNTU-CVE-2022-2868 USN-5714-1
Ubuntu20.04:LTStiff4.1.0+git191117-2ubuntu0.20.04.6UBUNTU-CVE-2022-2868 USN-5714-1
Ubuntu22.04:LTStiff4.3.0-6ubuntu0.2UBUNTU-CVE-2022-2868 USN-5714-1
UbuntuPro:14.04:LTStiff4.0.3-7ubuntu0.11+esm3UBUNTU-CVE-2022-2868 USN-5604-1 USN-5714-1
UbuntuPro:16.04:LTStiff4.0.6-1ubuntu0.8+esm3UBUNTU-CVE-2022-2868 USN-5604-1 USN-5714-1
Red Hatenterprise_linux:8::appstreamlibtiff, libtiff-devel, libtiff-debuginfo and 2 more0:4.0.9-26.el8_7RHSA-2023:0095
Red Hatenterprise_linux:8::crblibtiff-tools, libtiff-debuginfo, libtiff-debugsource and 1 more0:4.0.9-26.el8_7RHSA-2023:0095
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 23 moretiff4.0.9-150000.45.16.1SUSE-SU-2022:3690-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 6 moretiff4.0.9-44.56.1SUSE-SU-2022:3679-1
openSUSELeap 15.3, Leap 15.4, Leap Micro 5.2tiff4.0.9-150000.45.16.1SUSE-SU-2022:3690-1
openSUSETumbleweedtiff4.6.0-2.1openSUSE-SU-2024:13381-1
AlmaLinux8libtiff, libtiff-devel, libtiff-tools4.0.9-26.el8_7ALSA-2023:0095
Rocky Linux8libtiff0:4.0.9-26.el8_7RLSA-2023:0095
Alpinev3.13, v3.14, v3.15 and 9 moretiff4.4.0-r0ALPINE-CVE-2022-2868
Azure Linux2libtiff4.5.0-1AZL-10568

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

Red Hat's statement

This flaw is present in the tiffcrop tool only and not in the libtiff library code.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libtiff-0:4.0.9-26.el8_7Fixed 2023-01-12RHSA-2023:0095
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-libtiff3Fix deferred
Red Hat Enterprise Linux 9libtiffNot 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-2022-2868.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON