Description
Stack-based buffer overflow in tif_dir.c in LibTIFF before 4.0.2 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted DOTRANGE tag in a TIFF image.
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 | 4.0.2-1 | — |
| Debian 13 | tiff | 4.0.2-1 | — |
| Debian 12 | tiff | 4.0.2-1 | — |
| Debian 6.0 | tiff | 3.9.4-5+squeeze8 | DSA-2589-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | libtiff +2 | 3.9.4-9.el6_3 | RHSA-2012:1590 |
| RHEL 5 | libtiff +1 | 3.8.2-18.el5_8 | RHSA-2012:1590 |
Advisories 2
- RHSA-2012:1590 Red Hat Security Advisory: libtiff security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2589-1 tiff - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- libtiff-dotrange-bo(80339) vdb-entry
- DSA-2589 vendor-advisory
- 56715 vdb-entry
- openSUSE-SU-2013:0187 vendor-advisory
- 51491 third-party-advisory
- USN-1655-1 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=867235
- [oss-security] 20121128 libtiff: Stack based buffer overflow when handling DOTRANGE tags mailing-list
- RHSA-2012:1590 vendor-advisory