CVEfocus › CVE database › CVE-2025-8176

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

CVSS 5.3 MediumEPSS 0.3% (higher than 18% of CVEs)Published 2025-07-26Updated 2025-07-28Assigner: VulDB

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.

CWE-119CWE-416

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

27Fixed
4Fix pending
2Will not fix
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04tiffFixed4.5.1+git230720-4ubuntu2.3UBUNTU-CVE-2025-8176
Ubuntu 22.04tiffFixed4.3.0-6ubuntu0.11UBUNTU-CVE-2025-8176
Ubuntu 20.04tiffFix pending4.1.0+git191117-2ubuntu0.20.04.14+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-8176
Ubuntu 18.04tiffFix pending4.0.9-5ubuntu0.10+esm8 (Ubuntu Pro)UBUNTU-CVE-2025-8176
Ubuntu 16.04tiffFix pending4.0.6-1ubuntu0.8+esm18 (Ubuntu Pro)UBUNTU-CVE-2025-8176
Ubuntu 14.04tiffFix pending4.0.3-7ubuntu0.11+esm15 (Ubuntu Pro)UBUNTU-CVE-2025-8176
Debian 14tiffFixed4.7.1-1DEBIAN-CVE-2025-8176
Debian 13tiffWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-8176
Debian 12tiffWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-8176
Red Hat Enterprise Linux 10libtiffNot affected
Red Hat Enterprise Linux 10libtiff-develNot affected
Red Hat Enterprise Linux 10libtiff-toolsNot affected
Red Hat Enterprise Linux 9libtiffFixed0:4.4.0-13.el9_6.2RHSA-2025:20956
Red Hat Enterprise Linux 9libtiff-develFixed0:4.4.0-13.el9_6.2RHSA-2025:20956
Red Hat Enterprise Linux 9libtiff-toolsFixed0:4.4.0-13.el9_6.2RHSA-2025:20956
Red Hat Enterprise Linux 8compat-libtiff3Not affected
Red Hat Enterprise Linux 8libtiffFixed0:4.0.9-36.el8_10RHSA-2025:20034
Red Hat Enterprise Linux 8libtiff-develFixed0:4.0.9-36.el8_10RHSA-2025:20034
Red Hat Enterprise Linux 8libtiff-toolsFixed0:4.0.9-36.el8_10RHSA-2025:20034
Red Hat Enterprise Linux 8mingw-libtiffFixed0:4.0.9-3.el8_10RHSA-2025:19906
Red Hat Enterprise Linux 8mingw32-libtiffFixed0:4.0.9-3.el8_10RHSA-2025:19906
Red Hat Enterprise Linux 8mingw32-libtiff-staticFixed0:4.0.9-3.el8_10RHSA-2025:19906
Red Hat Enterprise Linux 8mingw64-libtiffFixed0:4.0.9-3.el8_10RHSA-2025:19906
Red Hat Enterprise Linux 8mingw64-libtiff-staticFixed0:4.0.9-3.el8_10RHSA-2025:19906
Red Hat Enterprise Linux 7compat-libtiff3Not affected
Red Hat Enterprise Linux 6libtiffNot affected
Red Hat Enterprise Linux 6libtiff-develNot affected
Red Hat Enterprise Linux 6libtiff-staticNot affected
AlmaLinux 9libtiffFixed4.4.0-15.el9_7.2ALSA-2025:19113
AlmaLinux 9libtiff-develFixed4.4.0-15.el9_7.2ALSA-2025:19113
AlmaLinux 9libtiff-toolsFixed4.4.0-13.el9_6.2ALSA-2025:20956
AlmaLinux 8libtiffFixed4.0.9-36.el8_10ALSA-2025:20034
AlmaLinux 8libtiff-develFixed4.0.9-36.el8_10ALSA-2025:20034
AlmaLinux 8libtiff-toolsFixed4.0.9-36.el8_10ALSA-2025:20034
AlmaLinux 8mingw32-libtiffFixed4.0.9-3.el8_10ALSA-2025:19906
AlmaLinux 8mingw32-libtiff-staticFixed4.0.9-3.el8_10ALSA-2025:19906
AlmaLinux 8mingw64-libtiffFixed4.0.9-3.el8_10ALSA-2025:19906
AlmaLinux 8mingw64-libtiff-staticFixed4.0.9-3.el8_10ALSA-2025:19906
Rocky Linux 9libtiffFixed0:4.4.0-13.el9_6.2RLSA-2025:20956
Rocky Linux 8libtiffFixed0:4.0.9-36.el8_10RLSA-2025:20034
Rocky Linux 8mingw-libtiffFixed0:4.0.9-3.el8_10RLSA-2025:19906

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.