Vulnerability · Published Aug 11, 2025 · Assigned by VulDB
CVE-2025-8851LibTIFF tiffcrop tiffcrop.c readSeparateStripsetoBuffer stack-based overflow
Medium 5.3
In plain English
A medium-severity stack 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.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was determined in LibTIFF up to 4.5.1. Affected by this issue is the function readSeparateStripsetoBuffer of the file tools/tiffcrop.c of the component tiffcrop. The manipulation leads to stack-based buffer overflow. Local access is required to approach this attack. The patch is identified as 8a7a48d7a645992ca83062b3a1873c951661e2b3. It is recommended to apply a patch to fix this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tiff | no fix listed | DEBIAN-CVE-2025-8851 |
| Debian:13 | tiff | 4.7.0-1 | DEBIAN-CVE-2025-8851 |
| Debian:14 | tiff | 4.7.0-1 | DEBIAN-CVE-2025-8851 |
| Ubuntu:22.04:LTS | neuron | no fix listed | UBUNTU-CVE-2025-8851 |
| Ubuntu:25.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2025-8851 |
| Ubuntu:26.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2025-8851 |
| Ubuntu:25.10 | texmaker | no fix listed | UBUNTU-CVE-2025-8851 |
| Ubuntu:26.04:LTS | texmaker | no fix listed | UBUNTU-CVE-2025-8851 |
| Ubuntu:26.10 | texmaker | no fix listed | UBUNTU-CVE-2025-8851 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.11 | UBUNTU-CVE-2025-8851 |
| Ubuntu:22.04:LTS | tiff | 4.3.0-6ubuntu0.11 | USN-7707-1 |
| Ubuntu:24.04:LTS | tiff | 4.5.1+git230720-4ubuntu2.3 | UBUNTU-CVE-2025-8851 |
| Ubuntu:24.04:LTS | tiff | 4.5.1+git230720-4ubuntu2.3 | USN-7707-1 |
Affected products (as reported)
Weakness: CWE-121, 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-319382 | LibTIFF tiffcrop tiffcrop.c readSeparateStripsetoBuffer stack-based overflow vdb-entry, technical-description
- VDB-319382 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #624604 | LibTIFF v4.5.1 Buffer Overflow third-party-advisory
- https://gitlab.com/libtiff/libtiff/-/commit/8a7a48d7a645992ca83062b3a1873c951661e2b3 patch
- http://www.libtiff.org/ product