Improper Resource Shutdown or Release Affecting libtiff package, versions <0:4.4.0-4.amzn2023.0.22


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.03% (8th 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-AMZN2023-LIBTIFF-12764218
  • published16 Sept 2025
  • disclosed19 Aug 2025

Introduced: 19 Aug 2025

CVE-2025-9165  (opens in a new tab)
CWE-404  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libtiff to version 0:4.4.0-4.amzn2023.0.22 or higher.
This issue was patched in ALAS2023-2025-1176.

NVD Description

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

A flaw has been found in LibTIFF 4.7.0. This affects the function _TIFFmallocExt/_TIFFCheckRealloc/TIFFHashSetNew/InitCCITTFax3 of the file tools/tiffcmp.c of the component tiffcmp. Executing manipulation can lead to memory leak. The attack is restricted to local execution. This attack is characterized by high complexity. It is indicated that the exploitability is difficult. The exploit has been published and may be used. There is ongoing doubt regarding the real existence of this vulnerability. This patch is called ed141286a37f6e5ddafb5069347ff5d587e7a4e0. It is best practice to apply a patch to resolve this issue. A researcher disputes the security impact of this issue, because "this is a memory leak on a command line tool that is about to exit anyway". In the reply the project maintainer declares this issue as "a simple 'bug' when leaving the command line tool and (...) not a security issue at all".

CVSS Base Scores

version 3.1