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

Published Jul 26, 2025
·
Updated

A vulnerability was found in LibTIFF up to 4.7.0. It has been declared as critical. This vulnerability affects the function gethistogram 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.

Other sources

LibTIFF tiffmedian.c gethistogram use after free

Microsoft

Affected Software

4 affected componentsFixes available
LibTIFF libtiff<=4.7.0
LibTIFF libtiff<=4.7.0
Microsoft azl3 libtiff 4.6.0-7
Microsoft cbl2 libtiff 4.6.0-8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade LibTIFF to a version that resolves this vulnerability.

    Patch fe10872e53efba9cc36c66ac4ab3b41a839d5172

Event History

Jul 26, 2025
CVE Published
via MITRE·03:32 AM
Data Sourced
via MITRE·03:32 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·04:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·09:22 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:22 AM
Affected Software
Updated
via Microsoft·09:22 AM
Affected Software
Updated
via Microsoft·09:22 AM
SeverityAffected Software
Updated
via Microsoft·09:22 AM
DescriptionSeverity
Jan 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jun 24, 58473
Event
via NVD·04:36 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-8176?

CVE-2025-8176 is classified as a critical severity vulnerability.

2

How do I fix CVE-2025-8176?

To fix CVE-2025-8176, update LibTIFF to version 4.7.1 or later.

3

What type of vulnerability is CVE-2025-8176?

CVE-2025-8176 is a use after free vulnerability affecting the get_histogram function.

4

Which versions of LibTIFF are affected by CVE-2025-8176?

CVE-2025-8176 affects LibTIFF versions up to and including 4.7.0.

5

Is CVE-2025-8176 exploitable remotely?

CVE-2025-8176 requires local access for exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203