cve.bz

CVE-2025-8176 libtiff libtiff: Use After Free

1.9 lowExploit referenceEPSS 0.3%Fix available

Low (1.9) in libtiff libtiff. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

1.9 low
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

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-07-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-8176 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8176?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8176?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8176 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libtiff:libtiffthrough 4.7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13tiffno fix listedDEBIAN-CVE-2025-8176
Debian14tiff4.7.1-1DEBIAN-CVE-2025-8176
Ubuntu22.04:LTStiff4.3.0-6ubuntu0.11UBUNTU-CVE-2025-8176 USN-7707-1
Ubuntu24.04:LTStiff4.5.1+git230720-4ubuntu2.3UBUNTU-CVE-2025-8176 USN-7707-1
UbuntuPro:14.04:LTStiff4.0.3-7ubuntu0.11+esm15UBUNTU-CVE-2025-8176 USN-7707-1
UbuntuPro:16.04:LTStiff4.0.6-1ubuntu0.8+esm18UBUNTU-CVE-2025-8176 USN-7707-1
UbuntuPro:18.04:LTStiff4.0.9-5ubuntu0.10+esm8UBUNTU-CVE-2025-8176 USN-7707-1
UbuntuPro:20.04:LTStiff4.1.0+git191117-2ubuntu0.20.04.14+esm1UBUNTU-CVE-2025-8176 USN-7707-1
Red Hatenterprise_linux:8::appstreamlibtiff, libtiff-devel, libtiff-debuginfo and 2 more0:4.0.9-36.el8_10RHSA-2025:20034
Red Hatenterprise_linux:8::crblibtiff-tools, libtiff-debuginfo, libtiff-debugsource and 1 more0:4.0.9-36.el8_10RHSA-2025:20034
Red Hatenterprise_linux:8::crbmingw-libtiff, mingw32-libtiff, mingw64-libtiff and 4 more0:4.0.9-3.el8_10RHSA-2025:19906
Red Hatenterprise_linux:9::appstreamlibtiff, libtiff-devel, libtiff-debuginfo and 2 more0:4.4.0-13.el9_6.2RHSA-2025:19113
Red Hatenterprise_linux:9::appstreamlibtiff, libtiff-devel, libtiff-debuginfo and 2 more0:4.4.0-15.el9_7.2RHSA-2025:20956
Red Hatenterprise_linux:9::crblibtiff-tools, libtiff-debuginfo, libtiff-debugsource and 1 more0:4.4.0-13.el9_6.2RHSA-2025:19113
Red Hatenterprise_linux:9::crblibtiff-tools, libtiff-debuginfo, libtiff-debugsource and 1 more0:4.4.0-15.el9_7.2RHSA-2025:20956
Red Hatrhel_aus:8.2::appstreamspice-client-win, spice-client-win-x64, spice-client-win-x860:8.10-3.el8_2.1RHSA-2026:0078
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamspice-client-win, spice-client-win-x64, spice-client-win-x860:8.10-3.el8_4.1RHSA-2026:0077
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamspice-client-win, spice-client-win-x64, spice-client-win-x860:8.10-3.el8_6.1RHSA-2026:0076
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamspice-client-win, spice-client-win-x64, spice-client-win-x860:8.10-3.el8_8.1RHSA-2026:0001
Red Hatrhel_e4s:9.2::appstreamlibtiff, libtiff-devel, libtiff-debuginfo and 2 more0:4.4.0-8.el9_2.4RHSA-2025:21508
3 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 17 moretiff4.0.9-150000.45.50.1SUSE-SU-2025:02815-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP6 and 1 moretiff4.7.0-150600.3.13.1SUSE-SU-2025:02770-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tiff4.0.9-44.89.1SUSE-SU-2025:02771-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0tiff4.7.1-160000.1.1SUSE-SU-2025:21009-1
SUSELinux Micro 6.0tiff4.7.1-1.1SUSE-SU-2025:21037-1
SUSELinux Micro 6.1tiff4.7.1-slfo.1.1_1.1SUSE-SU-2025:20971-1
SUSELinux Micro 6.2tiff4.7.1-160000.1.1SUSE-SU-2025:21032-1
openSUSELeap 15.6tiff4.7.0-150600.3.13.1SUSE-SU-2025:02770-1
openSUSELeap 16.0tiff, tiff-man4.7.1-160000.1.1openSUSE-SU-2025:20049-1
openSUSETumbleweedtiff4.7.0-7.1openSUSE-SU-2025:15417-1
AlmaLinux8libtiff, libtiff-devel, libtiff-tools4.0.9-36.el8_10ALSA-2025:20034
AlmaLinux8mingw32-libtiff, mingw64-libtiff, mingw32-libtiff-static and 1 more4.0.9-3.el8_10ALSA-2025:19906
AlmaLinux9libtiff, libtiff-devel, libtiff-tools4.4.0-13.el9_6.2ALSA-2025:19113
AlmaLinux9libtiff, libtiff-devel, libtiff-tools4.4.0-15.el9_7.2ALSA-2025:20956
Rocky Linux8libtiff0:4.0.9-36.el8_10RLSA-2025:20034
Rocky Linux8mingw-libtiff0:4.0.9-3.el8_10RLSA-2025:19906
Rocky Linux9libtiff0:4.4.0-13.el9_6.2RLSA-2025:19113
Rocky Linux9libtiff0:4.4.0-15.el9_7.2.0.1RLSA-2025:20956
Azure Linux2libtiff4.6.0-8AZL-65981
Azure Linux3libtiff4.6.0-7AZL-65973
Alpaquita23tiffno fix listedBELL-CVE-2025-8176
Alpaquita25tiff4.7.1-r1BELL-CVE-2025-8176
Alpaquitastreamtiff4.7.1-r0BELL-CVE-2025-8176
BellSoft Hardened Containers23tiffno fix listedBELL-CVE-2025-8176
BellSoft Hardened Containers25tiff4.7.1-r1BELL-CVE-2025-8176
BellSoft Hardened Containersstreamtiff4.7.1-r0BELL-CVE-2025-8176

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability has been rated Important because it involves a use-after-free flaw in the get_histogram function of LibTIFF’s tiffmedian tool. Successful exploitation may allow a local attacker to execute arbitrary code or cause a denial of service, leading to loss of confidentiality, integrity, and availability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibtiff-0:4.0.3-35.el7_9.1Fixed 2025-11-17RHSA-2025:21407
Red Hat Enterprise Linux 8libtiff-0:4.0.9-36.el8_10Fixed 2025-11-10RHSA-2025:20034
Red Hat Enterprise Linux 8mingw-libtiff-0:4.0.9-3.el8_10Fixed 2025-11-06RHSA-2025:19906
Red Hat Enterprise Linux 8.2 Advanced Update Supportspice-client-win-0:8.10-3.el8_2.1Fixed 2026-01-05RHSA-2026:0078
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportspice-client-win-0:8.10-3.el8_4.1Fixed 2026-01-05RHSA-2026:0077
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onspice-client-win-0:8.10-3.el8_4.1Fixed 2026-01-05RHSA-2026:0077
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportspice-client-win-0:8.10-3.el8_6.1Fixed 2026-01-05RHSA-2026:0076
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicespice-client-win-0:8.10-3.el8_6.1Fixed 2026-01-05RHSA-2026:0076
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsspice-client-win-0:8.10-3.el8_6.1Fixed 2026-01-05RHSA-2026:0076
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicespice-client-win-0:8.10-3.el8_8.1Fixed 2026-01-05RHSA-2026:0001
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsspice-client-win-0:8.10-3.el8_8.1Fixed 2026-01-05RHSA-2026:0001
Red Hat Enterprise Linux 9libtiff-0:4.4.0-13.el9_6.2Fixed 2025-10-28RHSA-2025:19113
Red Hat Enterprise Linux 9libtiff-0:4.4.0-15.el9_7.2Fixed 2025-11-11RHSA-2025:20956
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibtiff-0:4.4.0-8.el9_2.4Fixed 2025-11-17RHSA-2025:21508
Red Hat Enterprise Linux 9.4 Extended Update Supportlibtiff-0:4.4.0-12.el9_4.4Fixed 2025-11-17RHSA-2025:21507
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:3.2.2-1765379088Fixed 2025-12-10RHSA-2025:23078
Red Hat Enterprise Linux 10libtiffNot affected
Red Hat Enterprise Linux 6libtiffNot affected
Red Hat Enterprise Linux 7compat-libtiff3Not affected
Red Hat Enterprise Linux 8compat-libtiff3Not affected
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8176.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON