Description
Integer overflow in tools/tiffcp.c in LibTIFF 4.0.7, 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5 and 4.0.6 allows remote attackers to have unspecified impact via a crafted image, which triggers 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.7-2 | — |
| Debian 13 | tiff | 4.0.7-2 | — |
| Debian 12 | tiff | 4.0.7-2 | — |
| Debian 8 | tiff | 4.0.3-12.3+deb8u2 | DSA-3762-1 |
| Debian 7 | tiff | 4.0.2-6+deb7u9 | DLA-795-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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | tiff | 4.0.9-5.20.1 | SUSE-SU-2018:4008-1 |
| SLES 12 SP4 | tiff | 4.0.9-44.30.1 | SUSE-SU-2018:4191-1 |
| SLES 12 SP3 | tiff | 4.0.9-44.30.1 | SUSE-SU-2018:4191-1 |
| SLES 11 SP4 | tiff | 3.8.2-141.169.26.1 | SUSE-SU-2018:4120-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP4 | tiff | 4.0.9-44.30.1 | SUSE-SU-2018:4191-1 |
| SLES for SAP 12 SP3 | tiff | 4.0.9-44.30.1 | SUSE-SU-2018:4191-1 |
| SLES for SAP 11 SP4 | tiff | 3.8.2-141.169.26.1 | SUSE-SU-2018:4120-1 |
Advisories 6
- USN-3212-1 tiff vulnerabilities Ubuntu Security Notices (USN) · Jun 1, 2026
- DLA-795-1 tiff - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3762-1 tiff - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:4191-1 Security update for tiff SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:4008-1 Security update for tiff SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:4120-1 Security update for tiff SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://blogs.gentoo.org/ago/2017/01/01/libtiff-multiple-heap-based-buffer-overflow/
- http://bugzilla.maptools.org/show_bug.cgi?id=2610
- [oss-security] 20170101 Re: Re: libtiff: multiple heap-based buffer overflow mailing-list
- https://github.com/vadz/libtiff/commit/787c0ee906430b772f33ca50b97b8b5ca070faec
- 95215 vdb-entry
- [oss-security] 20170101 Re: libtiff: multiple heap-based buffer overflow mailing-list
- DSA-3762 vendor-advisory
- https://github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2016-10093