CVE-2025-8176
LibTIFF tiffmedian.c get_histogram use after free
- State
- Published
- Severity
- 4.8 Medium
- Published
- Jul 26, 2025
- Updated
- Jul 28, 2025
- Reserved
- Jul 25, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 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 |
| 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 |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
LibTIFFn/a |
|
References
- VDB-317590 | LibTIFF tiffmedian.c get_histogram use after freevdb-entrytechnical-description
- VDB-317590 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #621796 | LibTIFF v4.7.0 Use After Freethird-party-advisory
- https://gitlab.com/libtiff/libtiff/-/issues/707exploitissue-tracking
- https://gitlab.com/libtiff/libtiff/-/merge_requests/727patch
- https://gitlab.com/libtiff/libtiff/-/commit/fe10872e53efba9cc36c66ac4ab3b41a839d5172patch
- http://www.libtiff.org/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.