CVE-2025-8176 Details
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.
A heap-use-after-free vulnerability has been identified in LibTIFF versions through 4.7.0. This critical issue occurs in the 'tiffmedian' tool, specifically within the 'get_histogram' function of 'tools/tiffmedian.c'. The vulnerability is triggered when the tool processes a malformed TIFF file, leading to memory being accessed after it has been freed, which can cause a program crash or potentially allow for arbitrary code execution. This vulnerability requires local access to exploit.
Users are advised to update to LibTIFF version 4.7.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gitlab.com/libtiff/libtiff/-/commit/fe10872e53efba9cc36c66ac4ab3b41a839d5172 | [email protected] | Patch |
| https://gitlab.com/libtiff/libtiff/-/issues/707 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://gitlab.com/libtiff/libtiff/-/merge_requests/727 | [email protected] | Product |
| https://vuldb.com/?ctiid.317590 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.317590 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.621796 | [email protected] | Third Party AdvisoryVDB Entry |
| http://www.libtiff.org/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libtiff libtiff | <= 4.7.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Sep 11, 2025 | Initial Analysis | [email protected] |
| Jul 26, 2025 | New CVE Received | [email protected] |