Incorrect Calculation of Buffer Size Affecting tiff package, versions <4.2.0-1+deb11u3


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.25% (65th 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-DEBIAN11-TIFF-3012398
  • published1 Sept 2022
  • disclosed31 Aug 2022

Introduced: 31 Aug 2022

CVE-2022-2520  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Debian:11 tiff to version 4.2.0-1+deb11u3 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:11 relevant fixed versions and status.

A flaw was found in libtiff 4.4.0rc1. There is a sysmalloc assertion fail in rotateImage() at tiffcrop.c:8621 that can cause program crash when reading a crafted input.

CVSS Scores

version 3.1