CVE-2025-8176
LibTIFF tiffmedian.c get_histogram use after free
Reported by vuldb · Published July 26, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libtiff-static | Amazon Linux | 4.4.0-4.amzn2023.0.20, 4.0.3-35.amzn2.0.23 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | LibTIFF | 4.0, 4.1, 4.2 |
| amazon:2 | libtiff-static | 0 |
| amazon:2023 | libtiff-static | 0 |
| amazon:2 | libtiff | 0 |
| amazon:2023 | libtiff | 0 |
| amazon:2023 | libtiff-devel | 0 |
| n/a | LibTIFF | 4.5, 4.0, 4.3 |
| chainguard | tiff | 0 |
| wolfi | tiff | 0 |
| alpine | tiff | 0 |
| amazon:2023 | libtiff-tools | 0 |
| amazon:2 | libtiff-devel | 0 |
| amazon:2 | libtiff-tools | 0 |
Timeline
- Jul 26, 2025 EPSS Score (30 in total, the first dated here)
- Jul 26, 2025 CVE Published
- Jul 28, 2025 CVE Updated
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- May 22, 2026 Distribution Patch (19 in total, the first dated here)
- May 22, 2026 Security Advisory (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-8176
vulnetix vdb fixes CVE-2025-8176
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-8176/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- VDB-317590 | LibTIFF tiffmedian.c get_histogram use after free vdb-entrytechnical-description
- VDB-317590 | CTI Indicators (IOB, IOC, IOA) signaturepermissions-required
- Submit #621796 | LibTIFF v4.7.0 Use After Free third-party-advisory
- exploitissue-tracking
- patch
- patch
- product