Description
Integer signedness error in the TIFFReadDirectory function in tif_dirread.c in libtiff 3.9.4 and earlier allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a negative tile depth in a tiff image, which triggers an improper conversion between signed and unsigned types, leading 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 | 4.0-1 | — |
| Debian 13 | tiff | 4.0-1 | — |
| Debian 12 | tiff | 4.0-1 | — |
| Debian 6.0 | tiff | 3.9.4-5+squeeze5 | DSA-2552-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | libtiff +2 | 3.9.4-6.el6_3 | RHSA-2012:1054 |
| RHEL 5 | libtiff +1 | 3.8.2-15.el5_8 | RHSA-2012:1054 |
Advisories 2
- RHSA-2012:1054 Red Hat Security Advisory: libtiff security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- DSA-2552-1 tiff - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://support.apple.com/kb/HT6163
- openSUSE-SU-2012:0829 vendor-advisory
- SUSE-SU-2012:0894 vendor-advisory
- RHSA-2012:1054 vendor-advisory
- 54270 vdb-entry
- APPLE-SA-2013-03-14-1 vendor-advisory
- GLSA-201209-02 vendor-advisory
- http://support.apple.com/kb/HT6162
- https://bugzilla.redhat.com/show_bug.cgi?id=832864
- MDVSA-2012:101 vendor-advisory
- 49686 third-party-advisory
- 50726 third-party-advisory