# CVE-2025-8177: LibTIFF thumbnail.c setrow buffer overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-26 · Modified: 2025-07-28
- Aliases: UBUNTU-CVE-2025-8177, DEBIAN-CVE-2025-8177, CGA-f3x3-54qg-ch8f, CGA-gwxf-m84v-6pr8
- Record: https://cvemate.com/vulnerability/CVE-2025-8177 · JSON: https://cvemate.com/vulnerability/CVE-2025-8177/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.335%, percentile 28.802%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- chainguard tiff (Chainguard): \< 4.7.0-r6
- wolfi tiff (Wolfi): \< 4.7.0-r6
- debian tiff (Debian): All versions (No fix recorded) \| \< 4.7.1-1
- ubuntu tiff (Ubuntu): \< 4.0.3-7ubuntu0.11+esm15 \| \< 4.0.6-1ubuntu0.8+esm18
- libtiff libtiff: ≤ 4.7.0

## 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/>
- <https://ubuntu.com/security/CVE-2025-8177>
- <https://www.cve.org/CVERecord?id=CVE-2025-8177>
- <https://ubuntu.com/security/notices/USN-7707-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-8177>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8177.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-8177>

---

Data as of 2026-12-05T03:09:15.516Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
