Vulnerability · Published Aug 17, 2022 · Assigned by redhat

CVE-2022-2869

Medium 5.5

In plain English

A medium-severity security flaw in libtiff. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 74.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

libtiff's tiffcrop tool has a uint32_t underflow which leads to out of bounds read and write in the extractContigSamples8bits routine. An attacker who supplies a crafted file to tiffcrop could trigger this flaw, most likely by tricking a user into opening the crafted file with tiffcrop. Triggering this flaw could cause a crash or potentially further exploitation.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libtiff4.0.9-26.el8_7ALSA-2023:0095
AlmaLinux:8libtiff-devel4.0.9-26.el8_7ALSA-2023:0095
AlmaLinux:8libtiff-tools4.0.9-26.el8_7ALSA-2023:0095
Alpine:v3.20tiff4.4.0-r0ALPINE-CVE-2022-2869
Alpine:v3.21tiff4.4.0-r0ALPINE-CVE-2022-2869
Alpine:v3.22tiff4.4.0-r0ALPINE-CVE-2022-2869
Alpine:v3.23tiff4.4.0-r0ALPINE-CVE-2022-2869
Alpine:v3.24tiff4.4.0-r0ALPINE-CVE-2022-2869
Debian:12tiff4.4.0~rc1-1DEBIAN-CVE-2022-2869
Debian:13tiff4.4.0~rc1-1DEBIAN-CVE-2022-2869
Debian:14tiff4.4.0~rc1-1DEBIAN-CVE-2022-2869
Rocky Linux:8libtiff0:4.0.9-26.el8_7RLSA-2023:0095
Ubuntu:22.04:LTStiff4.3.0-6ubuntu0.2UBUNTU-CVE-2022-2869
Ubuntu:22.04:LTStiff4.3.0-6ubuntu0.2USN-5714-1

Affected products (as reported)

VendorProductVersions
n/a libtiff libtiff 4.4.0rc1

Weakness: CWE-191

References