Description
Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tiff | 3.7.0 | — |
| Debian 13 | tiff | 3.7.0 | — |
| Debian 12 | tiff | 3.7.0 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | kdegraphics +1 | 7:3.1.3-3.7 | RHSA-2005:021 |
| RHEL 3 | libtiff +1 | 3.5.7-20.1 | RHSA-2004:577 |
Advisories 2
- RHSA-2005:021 Red Hat Security Advisory: kdegraphics security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2004:577 Red Hat Security Advisory: libtiff security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- TA05-136A third-party-advisory
- VU#539110 third-party-advisory
- 201072 vendor-advisory
- 101677 vendor-advisory
- 20041221 libtiff STRIPOFFSETS Integer Overflow Vulnerability third-party-advisory
- APPLE-SA-2005-05-03 vendor-advisory
- oval:org.mitre.oval:def:11175 vdb-entry signature