Buffer overflow in Libtiff

CVE-2025-8176

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.

Vulnerability class: Buffer Overflow

EPSS: 0.002 (14.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

  • Libtiff
  • N/a Libtiff — versions 4.0, 4.1, 4.2

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-8176?
CVE-2025-8176 is a medium-severity vulnerability in Libtiff, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.3/10. Published 2025-07-26.
How severe is CVE-2025-8176?
Medium severity. CVSS v3 base score is 5.3 out of 10.