Vulnerability · Published Jul 26, 2025 · Assigned by VulDB

CVE-2025-8176LibTIFF tiffmedian.c get_histogram use after free

Medium 5.3

In plain English

A medium-severity use-after-free in LibTIFF. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 78.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability was found in LibTIFF up to 4.7.0. It has been declared as critical. This vulnerability affects the function get_histogram of the file tools/tiffmedian.c. The manipulation leads to use after free. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used. The patch is identified as fe10872e53efba9cc36c66ac4ab3b41a839d5172. It is recommended to apply a patch to fix this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libtiff4.0.9-36.el8_10ALSA-2025:20034
AlmaLinux:9libtiff4.4.0-13.el9_6.2ALSA-2025:19113
AlmaLinux:9libtiff4.4.0-15.el9_7.2ALSA-2025:20956
AlmaLinux:8libtiff-devel4.0.9-36.el8_10ALSA-2025:20034
AlmaLinux:9libtiff-devel4.4.0-15.el9_7.2ALSA-2025:20956
AlmaLinux:9libtiff-devel4.4.0-13.el9_6.2ALSA-2025:19113
AlmaLinux:8libtiff-tools4.0.9-36.el8_10ALSA-2025:20034
AlmaLinux:9libtiff-tools4.4.0-15.el9_7.2ALSA-2025:20956
AlmaLinux:9libtiff-tools4.4.0-13.el9_6.2ALSA-2025:19113
AlmaLinux:8mingw32-libtiff4.0.9-3.el8_10ALSA-2025:19906
AlmaLinux:8mingw32-libtiff-static4.0.9-3.el8_10ALSA-2025:19906
AlmaLinux:8mingw64-libtiff4.0.9-3.el8_10ALSA-2025:19906
AlmaLinux:8mingw64-libtiff-static4.0.9-3.el8_10ALSA-2025:19906
Debian:12tiffno fix listedDEBIAN-CVE-2025-8176
Debian:13tiffno fix listedDEBIAN-CVE-2025-8176
Debian:14tiff4.7.1-1DEBIAN-CVE-2025-8176
Rocky Linux:8libtiff0:4.0.9-36.el8_10RLSA-2025:20034
Rocky Linux:9libtiff0:4.4.0-15.el9_7.2.0.1RLSA-2025:20956
Rocky Linux:9libtiff0:4.4.0-13.el9_6.2RLSA-2025:19113
Rocky Linux:8mingw-libtiff0:4.0.9-3.el8_10RLSA-2025:19906
Ubuntu:22.04:LTStiff4.3.0-6ubuntu0.11USN-7707-1
Ubuntu:22.04:LTStiff4.3.0-6ubuntu0.11UBUNTU-CVE-2025-8176
Ubuntu:24.04:LTStiff4.5.1+git230720-4ubuntu2.3USN-7707-1
Ubuntu:24.04:LTStiff4.5.1+git230720-4ubuntu2.3UBUNTU-CVE-2025-8176

Affected products (as reported)

VendorProductVersions
n/a LibTIFF 4.04.14.24.34.44.54.64.7.0

Weakness: CWE-416, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C

References