CVE Vulnerabilities

CVE-2022-2867

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 utility has a uint32_t underflow that can lead to out of bounds read and write. An attacker who supplies a crafted file to tiffcrop (likely via tricking a user to run tiffcrop on it with certain parameters) could cause a crash or in some cases, 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