CVE-2025-8176: LibTIFF tiffmedian.c get_histogram use after free
Vulnerability summary
CVE-2025-8176 is a high (CVSS 7.8) vulnerability in libtiff. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.5% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 21 · Related 11Timeline
- 26-07-2025PublishedVulnerability first disclosed.
- 28-07-2025Last modifiedVulnerability information updated.
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 metrics
14 scores · 8 sources · 4 versions- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- OSV · WolfiEcosystem advisory · calculated4.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- OSV · ChainguardEcosystem advisory · calculated4.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- NVDNIST1.9LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XDiffers
- CVE.orgCNA5.3MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CDiffers
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST4.3MediumAV:L/AC:L/Au:S/C:P/I:P/A:P
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (gitlab.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat6 products
- libtiff< 0:4.0.9-36.el8_10
- libtiff-debuginfo< 0:4.0.9-36.el8_10
- libtiff-debugsource< 0:4.0.9-36.el8_10
- libtiff-devel< 0:4.0.9-36.el8_10
- libtiff-tools< 0:4.0.9-36.el8_10
Alpine1 product
- tiff< 4.7.1-r0
Chainguard1 product
- tiff< 4.7.0-r6
Debian1 product
- tiffAll versions (No fix recorded) | < 4.7.1-1
Libtiff1 product
- libtiff≤ 4.7.0
Ubuntu1 product
- tiff< 4.0.3-7ubuntu0.11+esm15 | < 4.0.6-1ubuntu0.8+esm18 | < 4.0.9-5ubuntu0.10+esm8 | < 4.1.0+git191117-2ubuntu0.20.04.14+esm1 | < 4.3.0-6ubuntu0.11 | < 4.5.1+git230720-4ubuntu2.3
Wolfi1 product
- tiff< 4.7.0-r6
7 vendors · 12 products