Description
Heap-based buffer overflow in the thunder (aka ThunderScan) decoder in tif_thunder.c in LibTIFF 3.9.4 and earlier allows remote attackers to execute arbitrary code via crafted THUNDER_2BITDELTAS data in a .tiff file that has an unexpected BitsPerSample value.
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.9.4-9 | — |
| Debian 13 | tiff | 3.9.4-9 | — |
| Debian 12 | tiff | 3.9.4-9 | — |
| Debian 6.0 | tiff | 3.9.4-5+squeeze1 | DSA-2210-1 |
| Debian 5.0 | tiff | 3.8.2-11.4 | DSA-2210-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | libtiff +2 | 3.9.4-1.el6_0.2 | RHSA-2011:0392 |
| RHEL 5 | libtiff +1 | 3.8.2-7.el5_6.7 | RHSA-2011:0392 |
| RHEL 4 | libtiff +1 | 3.6.1-18.el4 | RHSA-2011:0392 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tiff | 4.0.7-1.1 | openSUSE-SU-2024:10554-1 |
Advisories 3
- RHSA-2011:0392 Red Hat Security Advisory: libtiff security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2210-1 tiff - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10554-1 libtiff-devel-32bit-4.0.7-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- ADV-2011-0795 vdb-entry
- 43974 third-party-advisory
- USN-1102-1 vendor-advisory
- ADV-2011-0845 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=684939
- ADV-2011-0860 vdb-entry
- SUSE-SR:2011:009 vendor-advisory
- APPLE-SA-2012-09-19-1 vendor-advisory
- http://support.apple.com/kb/HT5503
- SSA:2011-098-01 vendor-advisory
- http://support.apple.com/kb/HT5130
- 43900 third-party-advisory
- 71256 vdb-entry
- 43934 third-party-advisory
- 46951 vdb-entry
- FEDORA-2011-3836 vendor-advisory
- ADV-2011-0905 vdb-entry
- DSA-2210 vendor-advisory
- APPLE-SA-2012-02-01-1 vendor-advisory
- libtiff-thundercode-decoder-bo(66247) vdb-entry
- http://blackberry.com/btsc/KB27244
- 1025257 vdb-entry
- 20110321 ZDI-11-107: Libtiff ThunderCode Decoder THUNDER_2BITDELTAS Remote Code Execution Vulnerability mailing-list
- http://bugzilla.maptools.org/show_bug.cgi?id=2300
- GLSA-201209-02 vendor-advisory
- ADV-2011-0930 vdb-entry
- http://www.zerodayinitiative.com/advisories/ZDI-11-107
- 44135 third-party-advisory
- ADV-2011-0960 vdb-entry
- 8165 third-party-advisory
- MDVSA-2011:064 vendor-advisory
- ADV-2011-0859 vdb-entry
- 44117 third-party-advisory
- RHSA-2011:0392 vendor-advisory
- http://support.apple.com/kb/HT5281
- FEDORA-2011-3827 vendor-advisory
- APPLE-SA-2012-05-09-1 vendor-advisory
- 50726 third-party-advisory