High severity · published Jul 26, 2025
CVE-2025-8176
LibTIFF tiffmedian.c get_histogram use after free
7.8
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 21% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
LibTIFF ·
4.0; 4.1; 4.2; 4.3; 4.4; 4.5; +2 more · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-8176
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-8176
Product
http://www.libtiff.org/
Patch
https://gitlab.com/libtiff/libtiff/-/commit/fe10872e53efba9cc36c66ac4ab3b41a839d5172
Exploit
https://gitlab.com/libtiff/libtiff/-/issues/707
Product
https://gitlab.com/libtiff/libtiff/-/merge_requests/727
Permissions Required
https://vuldb.com/?ctiid.317590
Third Party Advisory
https://vuldb.com/?id.317590
More from LibTIFF
7.8
CVE-2025-8177
LibTIFF thumbnail.c setrow buffer overflow
6.5
CVE-2023-3618
Segmentation fault in fax3encode in libtiff/tif_fax3.c
6.1
CVE-2023-1916
A flaw was found in tiffcrop, a program distributed by the libtiff package
5.5
CVE-2023-3164
Heap-buffer-overflow in extractimagesection()
5.5
CVE-2023-30774
A vulnerability was found in the libtiff library
