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

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

Name Vendor Start Version End Version
Libtiff Libtiff * 4.4.0 (excluding)
Red Hat Enterprise Linux 8 RedHat libtiff-0:4.0.9-26.el8_7 *
Tiff Ubuntu bionic *
Tiff Ubuntu esm-infra/xenial *
Tiff Ubuntu focal *
Tiff Ubuntu jammy *
Tiff Ubuntu trusty *
Tiff Ubuntu trusty/esm *
Tiff Ubuntu upstream *
Tiff Ubuntu xenial *

References