Description
Double free vulnerability in tif_jpeg.c in libtiff before 3.8.1 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted TIFF image that triggers errors related to "setfield/getfield methods in cleanup functions."
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.1 | — |
| Debian 13 | tiff | 3.8.1 | — |
| Debian 12 | tiff | 3.8.1 | — |
| Debian 3.1 | tiff | 3.7.2-3sarge1 | DSA-1054-1 |
| Debian 3.0 | tiff | 3.5.5-7woody1 | DSA-1054-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | libtiff +1 | 3.6.1-10 | RHSA-2006:0425 |
| RHEL 3 | kdegraphics +1 | 7:3.1.3-3.10 | RHSA-2006:0648 |
| RHEL 3 | libtiff +1 | 3.5.7-25.el3.1 | RHSA-2006:0425 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- LibTiff 3.x - Double-Free Memory Corruption EDB-27765 · dos · Apr 28, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- RHSA-2006:0648 Red Hat Security Advisory: kdegraphics security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2006:0425 Red Hat Security Advisory: libtiff security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1054-1 tiff - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2006-1563 vdb-entry
- 20210 third-party-advisory
- 19949 third-party-advisory
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189933
- 103099 vendor-advisory
- USN-277-1 vendor-advisory
- GLSA-200605-17 vendor-advisory
- 20667 third-party-advisory
- http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
- libtiff-tifjpeg-doublefree-memory-corruption(26135) vdb-entry
- 19936 third-party-advisory
- 19964 third-party-advisory
- 201332 vendor-advisory
- 2006-0024 vendor-advisory
- 20345 third-party-advisory
- DSA-1054 vendor-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2006-119.htm
- oval:org.mitre.oval:def:11389 vdb-entry signature
- RHSA-2006:0425 vendor-advisory
- 19838 third-party-advisory
- 20021 third-party-advisory
- MDKSA-2006:082 vendor-advisory
- 19897 third-party-advisory
- 20023 third-party-advisory
- SUSE-SR:2006:009 vendor-advisory
- 17733 vdb-entry