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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS: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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-26T03:32:08.851Z
- Modified: 2026-06-17T10:06:27.507Z
- Weaknesses: CWE-119, CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- LibTIFF: 4.0; 4.1; 4.2; 4.3; 4.4; 4.5; 4.6; 4.7.0
- libtiff libtiff: up to 4.7.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS: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`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gitlab.com/libtiff/libtiff/-/issues/707> (exploit, issue-tracking, vendor-advisory)
- <https://vuldb.com/?id.317590> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.317590> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.621796> (third-party-advisory, vdb-entry)
- <https://gitlab.com/libtiff/libtiff/-/merge_requests/727> (patch, product)
- <https://gitlab.com/libtiff/libtiff/-/commit/fe10872e53efba9cc36c66ac4ab3b41a839d5172> (patch)
- <http://www.libtiff.org/> (product)

## Sources

- CVE List: [CVE-2025-8176](https://www.cve.org/CVERecord?id=CVE-2025-8176), CVE Terms of Use, modified 2025-07-28
- NVD: [CVE-2025-8176](https://nvd.nist.gov/vuln/detail/CVE-2025-8176), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-8176 · Whole record: https://cve.day/CVE-2025-8176.json · Rebuilt by cve.day 2026-11-25T22:59:01.757Z
