Integer Underflow Affecting tiff package, versions <4.1.0+git191117-2~deb10u5


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-TIFF-2987008
  • published18 Aug 2022
  • disclosed17 Aug 2022

Introduced: 17 Aug 2022

CVE-2022-2869  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Debian:10 tiff to version 4.1.0+git191117-2~deb10u5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tiff package and not the tiff package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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.

CVSS Scores

version 3.1