# CVE-2025-8176: LibTIFF tiffmedian.c get\_histogram use after free

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-26 · Modified: 2025-07-28
- Aliases: RHSA-2025:20034, UBUNTU-CVE-2025-8176, DEBIAN-CVE-2025-8176, CGA-c27q-6pqp-x3rq, CGA-c99f-7pqg-c42w, ALPINE-CVE-2025-8176
- Record: https://cvemate.com/vulnerability/CVE-2025-8176 · JSON: https://cvemate.com/vulnerability/CVE-2025-8176/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.294%, percentile 23.597%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine tiff (Alpine Linux): \< 4.7.1-r0
- chainguard tiff (Chainguard): \< 4.7.0-r6
- wolfi tiff (Wolfi): \< 4.7.0-r6
- debian tiff (Debian): All versions (No fix recorded) \| \< 4.7.1-1
- ubuntu tiff (Ubuntu): \< 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
- libtiff libtiff: ≤ 4.7.0
- redhat libtiff (Red Hat): \< 0:4.0.9-36.el8\_10
- redhat libtiff-debuginfo (Red Hat): \< 0:4.0.9-36.el8\_10
- redhat libtiff-debugsource (Red Hat): \< 0:4.0.9-36.el8\_10
- redhat libtiff-devel (Red Hat): \< 0:4.0.9-36.el8\_10
- redhat libtiff-tools (Red Hat): \< 0:4.0.9-36.el8\_10
- redhat libtiff-tools-debuginfo (Red Hat): \< 0:4.0.9-36.el8\_10

## References

- <https://vuldb.com/?id.317590>
- <https://vuldb.com/?ctiid.317590>
- <https://vuldb.com/?submit.621796>
- <https://gitlab.com/libtiff/libtiff/-/issues/707>
- <https://gitlab.com/libtiff/libtiff/-/merge_requests/727>
- <https://gitlab.com/libtiff/libtiff/-/commit/fe10872e53efba9cc36c66ac4ab3b41a839d5172>
- <http://www.libtiff.org/>
- <https://access.redhat.com/errata/RHSA-2025:20034>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2383598>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_20034.json>
- <https://access.redhat.com/security/cve/CVE-2025-8176>
- <https://www.cve.org/CVERecord?id=CVE-2025-8176>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-8176>
- <https://ubuntu.com/security/CVE-2025-8176>
- <https://ubuntu.com/security/notices/USN-7707-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-8176>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8176.json>
- <https://security.alpinelinux.org/vuln/CVE-2025-8176>

---

Data as of 2026-12-05T04:58:57.726Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
