Description
Multiple buffer underflows in the (1) LZWDecode, (2) LZWDecodeCompat, and (3) LZWDecodeVector functions in tif_lzw.c in the LZW decoder in LibTIFF 3.8.2 and earlier allow context-dependent attackers to execute arbitrary code via a crafted TIFF file, related to improper handling of the CODE_CLEAR code.
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.8.2-11 | — |
| Debian 13 | tiff | 3.8.2-11 | — |
| Debian 12 | tiff | 3.8.2-11 | — |
| Debian 5.0 | tiff | 3.8.2-10+lenny1 | DTSA-160-1 |
| Debian 4.0 | tiff | 3.8.2-7+etch1 | DSA-1632-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | libtiff +1 | 3.8.2-7.el5_2.2 | RHSA-2008:0847 |
| RHEL 4 | libtiff +1 | 3.6.1-12.el4_7.2 | RHSA-2008:0848 |
| RHEL 3 | libtiff +1 | 3.5.7-31.el3 | RHSA-2008:0863 |
| RHEL 2 | libtiff +1 | 3.5.7-31.el2 | RHSA-2008:0863 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tiff | 4.3.0-1.3 | openSUSE-SU-2024:11461-1 |
Advisories 6
- RHSA-2008:0847 Red Hat Security Advisory: libtiff security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2008:0863 Red Hat Security Advisory: libtiff security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2008:0848 Red Hat Security Advisory: libtiff security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1632-1 tiff - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-160-1 tiff - buffer underflow Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11461-1 libtiff-devel-32bit-4.3.0-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 265030 vendor-advisory
- 31670 third-party-advisory
- MDVSA-2008:184 vendor-advisory
- APPLE-SA-2008-11-13 vendor-advisory
- 20080905 rPSA-2008-0268-1 libtiff mailing-list
- 31838 third-party-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=234080
- APPLE-SA-2008-09-15 vendor-advisory
- 31982 third-party-advisory
- 31698 third-party-advisory
- FEDORA-2008-7388 vendor-advisory
- ADV-2008-2971 vdb-entry
- TA08-260A third-party-advisory
- ADV-2008-2776 vdb-entry
- http://www.vmware.com/security/advisories/VMSA-2008-0017.html
- RHSA-2008:0863 vendor-advisory
- APPLE-SA-2008-11-20 vendor-advisory
- 31623 third-party-advisory
- ADV-2008-2584 vdb-entry
- http://security-tracker.debian.net/tracker/CVE-2008-2327
- 1020750 vdb-entry
- 20081031 VMSA-2008-0017 Updated ESX packages for libxml2, ucd-snmp, libtiff mailing-list
- ADV-2008-3107 vdb-entry
- 31610 third-party-advisory
- 30832 vdb-entry
- http://security-tracker.debian.net/tracker/DTSA-160-1
- oval:org.mitre.oval:def:11489 vdb-entry signature
- SUSE-SR:2008:018 vendor-advisory
- ADV-2008-3232 vdb-entry
- 31882 third-party-advisory
- RHSA-2008:0848 vendor-advisory
- 31668 third-party-advisory
- ADV-2009-2143 vdb-entry
- 32706 third-party-advisory
- oval:org.mitre.oval:def:5514 vdb-entry signature
- DSA-1632 vendor-advisory
- http://support.apple.com/kb/HT3318
- http://security-tracker.debian.net/tracker/DSA-1632-1
- http://support.apple.com/kb/HT3298
- USN-639-1 vendor-advisory
- RHSA-2008:0847 vendor-advisory
- http://support.apple.com/kb/HT3276
- ADV-2008-2438 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=458674
- 32756 third-party-advisory
- GLSA-200809-07 vendor-advisory
- FEDORA-2008-7370 vendor-advisory