CVE-2025-8176 LibTIFF tiffmedian.c get_histogram use after free
MediumCVSS 4.8
EPSS 0.29%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 6 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/tiff(Debian 12) | = 4.5.0-6; = 4.5.0-6+deb12u1; = 4.5.0-6+deb12u2; = 4.5.0-6+deb12u3 +20 more | No fix listed | No fix yet |
| debian/tiff(Debian 13) | = 4.7.0-3; = 4.7.0-3+deb13u1; = 4.7.0-3+deb13u2; = 4.7.0-3+deb13u3 +7 more | No fix listed | No fix yet |
| azure linux libtiff(Azure Linux 3.0) | < 4.6.0-7 | 4.6.0-7 | Fixed |
| cbl-mariner libtiff(CBL-Mariner 2.0) | < 4.6.0-7; < 4.6.0-8 | 4.6.0-7, 4.6.0-8 | Fixed |
| debian/tiff(Debian 14) | < 4.7.1-1; = 4.7.0-3; = 4.7.0-4; = 4.7.0-5 | 4.7.1-1 | Fixed |
| libtiff | <= 4.7.0 | after 4.7.0 | Fixed |
| ubuntu/tiff(Ubuntu 22.04) | < 4.3.0-6ubuntu0.11 | 4.3.0-6ubuntu0.11 | Fixed |
| ubuntu/tiff(Ubuntu 24.04) | < 4.5.1+git230720-4ubuntu2.3 | 4.5.1+git230720-4ubuntu2.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner libtiff(CBL-Mariner:2.0) | < 4.6.0-7 | 4.6.0-7 |
| azure linux libtiff(Azure Linux:3.0) | < 4.6.0-7 | 4.6.0-7 |
| cbl-mariner libtiff(CBL-Mariner:2.0) | < 4.6.0-8 | 4.6.0-8 |
| debian/tiff(Debian:12) | All versions | No fix listed |
| debian/tiff(Debian:12) | = 4.5.0-6 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.0-6+deb12u1 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.0-6+deb12u2 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.0-6+deb12u3 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.0-6+deb12u4 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.1+git230720-1 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.1+git230720-2 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.1+git230720-3 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.1+git230720-4 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.1+git230720-5 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.1-1 | No fix listed |
| debian/tiff(Debian:12) | = 4.5.1~rc3-1 | No fix listed |
| debian/tiff(Debian:12) | = 4.6.0-1 | No fix listed |
| debian/tiff(Debian:12) | = 4.6.0-2 | No fix listed |
| debian/tiff(Debian:12) | = 4.7.0-1 | No fix listed |
| debian/tiff(Debian:12) | = 4.7.0-2 | No fix listed |
| debian/tiff(Debian:12) | = 4.7.0-3 | No fix listed |
| debian/tiff(Debian:12) | = 4.7.0-4 | No fix listed |
| debian/tiff(Debian:12) | = 4.7.0-5 | No fix listed |
| debian/tiff(Debian:12) | = 4.7.1-1 | No fix listed |
| debian/tiff(Debian:12) | = 4.7.1-2 | No fix listed |
Show 20 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/tiff(Debian:12) | = 4.7.1-3 | No fix listed |
| debian/tiff(Debian:12) | = 4.7.2-1 | No fix listed |
| debian/tiff(Debian:13) | All versions | No fix listed |
| debian/tiff(Debian:13) | = 4.7.0-3 | No fix listed |
| debian/tiff(Debian:13) | = 4.7.0-3+deb13u1 | No fix listed |
| debian/tiff(Debian:13) | = 4.7.0-3+deb13u2 | No fix listed |
| debian/tiff(Debian:13) | = 4.7.0-3+deb13u3 | No fix listed |
| debian/tiff(Debian:13) | = 4.7.0-4 | No fix listed |
| debian/tiff(Debian:13) | = 4.7.0-5 | No fix listed |
| debian/tiff(Debian:13) | = 4.7.1-1 | No fix listed |
| debian/tiff(Debian:13) | = 4.7.1-2 | No fix listed |
| debian/tiff(Debian:13) | = 4.7.1-3 | No fix listed |
| debian/tiff(Debian:13) | = 4.7.2-1 | No fix listed |
| debian/tiff(Debian:14) | < 4.7.1-1 | 4.7.1-1 |
| debian/tiff(Debian:14) | = 4.7.0-3 | No fix listed |
| debian/tiff(Debian:14) | = 4.7.0-4 | No fix listed |
| debian/tiff(Debian:14) | = 4.7.0-5 | No fix listed |
| ubuntu/tiff(Ubuntu:22.04) | < 4.3.0-6ubuntu0.11 | 4.3.0-6ubuntu0.11 |
| ubuntu/tiff(Ubuntu:24.04) | < 4.5.1+git230720-4ubuntu2.3 | 4.5.1+git230720-4ubuntu2.3 |
| libtiff | <= 4.7.0 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-8176 vendor-advisory
- VDB-317590 | LibTIFF tiffmedian.c get_histogram use after free technical-description third-party-advisory vdb-entry
- VDB-317590 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #621796 | LibTIFF v4.7.0 Use After Free third-party-advisory vdb-entry
- gitlab.com exploit issue-tracking vendor-advisory
- gitlab.com patch product
- gitlab.com patch
- www.libtiff.org product
- Ubuntu CVE tracker vendor-advisory
- USN-7707-1 vendor-advisory
- www.cve.org