CVE-2022-2867
libtiff: uint32_t underflow leads to out of bounds read and write in tiffcrop.c
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 21, 2021
Updated · June 27, 2026
Description
A flaw was found in libtiff's tiffcrop utility that has a uint32_t underflow that can lead to an out-of-bounds read and write. This flaw allows an attacker who supplies a crafted file to tiffcrop (likely via tricking a user to run tiffcrop on it with certain parameters)to cause a crash or, in some cases, further exploitation.
Statement
This flaw has been rated as a Moderate because it is present in the tiffcrop utility rather than the libtiff library itself.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE-787 · Out-of-bounds Write