LibTIFF thumbnail.c setrow buffer overflow
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | LibTIFF | 4.0; 4.1; 4.2; 4.3; 4.4; 4.5; 4.6; 4.7.0 | — | No fix listed | CNA |
- LibTIFF Vendor— Affected 4.0; 4.1; 4.2; 4.3; 4.4; 4.5; 4.6; 4.7.0 Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2025:21407 Released 2025-11-17 · Red Hat rating Importantlibtiff security update
- Red Hat Enterprise Linux Server (v. 7 ELS) libtiff-4.0.3-35.el7_9.1, libtiff-4.0.3-35.el7_9.1.ppc
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) libtiff-static-4.0.3-35.el7_9.1, libtiff-static-4.0.3-35.el7_9.1.ppc, libtiff-tools-4.0.3-35.el7_9.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2025:21407 |
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux Server (v. 7 ELS)
- Red Hat Enterprise Linux Server Optional (v. 7 ELS)
Timeline
- 2026-10-02 Threatist record created from CVE-2025-8177
- 2026-10-03 Alias added: GHSA-w743-578r-x56m
References
More Libtiff vulnerabilities
- TI-2023-28739 Libtiff: segment fault in libtiff in tiffreadrgbatileext() leading to denial of service CVSS 3.1HIGH 7.5
- TI-2023-10746 libtiff 4.5.0 is vulnerable to Buffer Overflow via extractContigSamplesBytes() at /libtiff/tools/tiffcrop.c:3215. CVSS 3.1HIGH 8.8
- TI-2022-03639 LibTIFF tif_getimage.c TIFFReadRGBATileExt integer overflow CVSS 3.1HIGH 8.8
- TI-2023-05765 Libtiff: out-of-memory in tiffopen via a craft file CVSS 3.1MEDIUM 6.5
- TI-2022-03286 Out-of-bounds write in libtiff CVSS 3.1HIGH 7.7
- TI-2006-03352 Multiple stack-based buffer overflows in the TIFF library (libtiff) before 3.8.2, as used… CVSS 2.0HIGH 7.5
Sources
- CVE-2025-8177 · CVE Program
- CVE-2025-8177 · NVD
- FIRST EPSS
- GHSA-w743-578r-x56m · GitHub Advisory Database · CC BY 4.0
- CVE-2025-8177 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences