CVE-2025-8177LibTIFF thumbnail.c setrow buffer overflow
A vulnerability was found in LibTIFF up to 4.7.0. It has been rated as critical. This issue affects the function setrow of the file tools/thumbnail.c. The manipulation leads to buffer overflow. An attack has to be approached locally. The patch is named e8c9d6c616b19438695fd829e58ae4fde5bfbc22. It is recommended to apply a patch to fix this issue. This vulnerability only affects products that are no longer supported by the maintainer.
What to do
Fixed builds are available from Debian: 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | tiff | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | tiff | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | tiff | Fix pending | 4.0.6-1ubuntu0.8+esm18 (Ubuntu Pro) | UBUNTU-CVE-2025-8177 |
| Ubuntu 14.04 | tiff | Fix pending | 4.0.3-7ubuntu0.11+esm15 (Ubuntu Pro) | UBUNTU-CVE-2025-8177 |
| Debian 14 | tiff | Fixed | 4.7.1-1 | DEBIAN-CVE-2025-8177 |
| Debian 13 | tiff | Will 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-8177 | |
| Debian 12 | tiff | Will 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-8177 | |
| Red Hat Enterprise Linux 10 | libtiff | Not affected | ||
| Red Hat Enterprise Linux 10 | libtiff-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libtiff-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | libtiff | Not affected | ||
| Red Hat Enterprise Linux 9 | libtiff-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libtiff-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | compat-libtiff3 | Not affected | ||
| Red Hat Enterprise Linux 8 | libtiff | Not affected | ||
| Red Hat Enterprise Linux 8 | libtiff-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libtiff-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw-libtiff | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw32-libtiff | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw32-libtiff-static | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw64-libtiff | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw64-libtiff-static | Not affected | ||
| Red Hat Enterprise Linux 7 | compat-libtiff3 | Not affected | ||
| Red Hat Enterprise Linux 6 | libtiff | Not affected | ||
| Red Hat Enterprise Linux 6 | libtiff-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libtiff-static | Not affected |
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.
- LibTIFF: affected: 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
Vendor advisories:
- https://gitlab.com/libtiff/libtiff/-/merge_requests/737 (patch)
- https://gitlab.com/libtiff/libtiff/-/commit/e8c9d6c616b19438695fd829e58ae4fde5bfbc22 (patch)
References
- https://vuldb.com/?id.317591
- https://vuldb.com/?ctiid.317591
- https://vuldb.com/?submit.621797
- https://gitlab.com/libtiff/libtiff/-/issues/715
- https://gitlab.com/libtiff/libtiff/-/merge_requests/737
- https://gitlab.com/libtiff/libtiff/-/commit/e8c9d6c616b19438695fd829e58ae4fde5bfbc22
- http://www.libtiff.org/
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.