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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libtiff | 4.0.9-26.el8_7 | ALSA-2023:0095 |
| AlmaLinux:8 | libtiff-devel | 4.0.9-26.el8_7 | ALSA-2023:0095 |
| AlmaLinux:8 | libtiff-tools | 4.0.9-26.el8_7 | ALSA-2023:0095 |
| Alpine:v3.20 | tiff | 4.4.0-r0 | ALPINE-CVE-2022-2869 |
| Alpine:v3.21 | tiff | 4.4.0-r0 | ALPINE-CVE-2022-2869 |
| Alpine:v3.22 | tiff | 4.4.0-r0 | ALPINE-CVE-2022-2869 |
| Alpine:v3.23 | tiff | 4.4.0-r0 | ALPINE-CVE-2022-2869 |
| Alpine:v3.24 | tiff | 4.4.0-r0 | ALPINE-CVE-2022-2869 |
| Debian:12 | tiff | 4.4.0~rc1-1 | DEBIAN-CVE-2022-2869 |
| Debian:13 | tiff | 4.4.0~rc1-1 | DEBIAN-CVE-2022-2869 |
| Debian:14 | tiff | 4.4.0~rc1-1 | DEBIAN-CVE-2022-2869 |
| Rocky Linux:8 | libtiff | 0:4.0.9-26.el8_7 | RLSA-2023:0095 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.2 | UBUNTU-CVE-2022-2869 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.2 | USN-5714-1 |
Affected products (as reported)
Weakness: CWE-191