Description
The setByteArray function in tif_dir.c in libtiff 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted 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.7-1 | — |
| Debian 13 | tiff | 4.0.7-1 | — |
| Debian 12 | tiff | 4.0.7-1 | — |
| Debian 8 | tiff | 4.0.3-12.3+deb8u2 | DSA-3762-1 |
| Debian 7 | tiff | 4.0.2-6+deb7u6 | DLA-606-1 |
| Debian 7 | tiff3 | 3.9.6-11+deb7u1 | DLA-610-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | tiff | 4.0.6-1ubuntu0.1 | USN-3212-1 |
| Ubuntu 14.04 LTS | tiff | 4.0.3-7ubuntu0.6 | USN-3212-1 |
Advisories 5
- USN-3212-1 tiff vulnerabilities Ubuntu Security Notices (USN) · Jun 1, 2026
- DLA-606-1 tiff - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-610-1 tiff3 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3762-1 tiff - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2023-2409 libTIFF: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 8, 2023
References
- 91204 vdb-entry
- 91205 vdb-entry
- [oss-security] 20160615 CVE-2016-5315: libtiff 4.0.6 tif_dir.c: setByteArray() Read access violation mailing-list
- GLSA-201701-16 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1346694
- DSA-3762 vendor-advisory