Buffer Access with Incorrect Length Value Affecting compat-libtiff3 package, versions <0:3.9.4-12.amzn2.0.5


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.02% (6th 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-AMZN2-COMPATLIBTIFF3-12508238
  • published5 Sept 2025
  • disclosed11 Aug 2025

Introduced: 11 Aug 2025

CVE-2025-8851  (opens in a new tab)
CWE-805  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 compat-libtiff3 to version 0:3.9.4-12.amzn2.0.5 or higher.
This issue was patched in ALAS2-2025-2986.

NVD Description

Note: Versions mentioned in the description apply only to the upstream compat-libtiff3 package and not the compat-libtiff3 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A vulnerability was determined in LibTIFF up to 4.5.1. Affected by this issue is the function readSeparateStripsetoBuffer of the file tools/tiffcrop.c of the component tiffcrop. The manipulation leads to stack-based buffer overflow. Local access is required to approach this attack. The patch is identified as 8a7a48d7a645992ca83062b3a1873c951661e2b3. It is recommended to apply a patch to fix this issue.

CVSS Base Scores

version 3.1