Vulnerability · Published Jul 26, 2025 · Assigned by VulDB
CVE-2025-8177LibTIFF thumbnail.c setrow buffer overflow
Medium 5.3
In plain English
A medium-severity buffer overflow in LibTIFF. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tiff | no fix listed | DEBIAN-CVE-2025-8177 |
| Debian:13 | tiff | no fix listed | DEBIAN-CVE-2025-8177 |
| Debian:14 | tiff | 4.7.1-1 | DEBIAN-CVE-2025-8177 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.11 | USN-7707-1 |
| Ubuntu:24.04:LTS | tiff | 4.5.1+git230720-4ubuntu2.3 | USN-7707-1 |
Affected products (as reported)
Weakness: CWE-120, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C
References
- VDB-317591 | LibTIFF thumbnail.c setrow buffer overflow vdb-entry, technical-description
- VDB-317591 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #621797 | LibTIFF v4.7.0 Buffer Overflow third-party-advisory
- https://gitlab.com/libtiff/libtiff/-/issues/715 issue-tracking
- https://gitlab.com/libtiff/libtiff/-/merge_requests/737 patch
- https://gitlab.com/libtiff/libtiff/-/commit/e8c9d6c616b19438695fd829e58ae4fde5bfbc22 patch
- http://www.libtiff.org/ product