CVE Vulnerabilities

CVE-2022-2869

Integer Underflow (Wrap or Wraparound)

Published: Aug 17, 2022 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
5.5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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

Weakness

The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

Affected Software

NameVendorStart VersionEnd Version
LibtiffLibtiff*4.4.0 (excluding)
Red Hat Enterprise Linux 8RedHatlibtiff-0:4.0.9-26.el8_7*
TiffUbuntubionic*
TiffUbuntuesm-infra-legacy/trusty*
TiffUbuntuesm-infra/bionic*
TiffUbuntuesm-infra/focal*
TiffUbuntuesm-infra/xenial*
TiffUbuntufocal*
TiffUbuntujammy*
TiffUbuntutrusty*
TiffUbuntutrusty/esm*
TiffUbuntuupstream*
TiffUbuntuxenial*

References