Description
The _TIFFmalloc function in tif_unix.c in LibTIFF 4.0.3 does not reject a zero size, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted TIFF image that is mishandled by the TIFFWriteScanline function in tif_write.c, as demonstrated by tiffdither.
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.5-1 | — |
| Debian 13 | tiff | 4.0.5-1 | — |
| Debian 12 | tiff | 4.0.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | tiff | 4.0.3-7ubuntu0.2 | USN-2553-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | libtiff +3 | 4.0.3-25.el7_2 | RHSA-2016:1546 |
| RHEL 6 | libtiff +2 | 3.9.4-18.el6_8 | RHSA-2016:1547 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | tiff | 4.0.4-12.2 | SUSE-SU-2015:1475-1 |
| SLES 11 SP4 | tiff | 3.8.2-141.160.1 | SUSE-SU-2015:1420-1 |
| SLES 11 SP3 | tiff | 3.8.2-141.160.1 | SUSE-SU-2015:1420-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 | tiff | 4.0.4-12.2 | SUSE-SU-2015:1475-1 |
| SLES for SAP 11 SP4 | tiff | 3.8.2-141.160.1 | SUSE-SU-2015:1420-1 |
| SLES for SAP 11 SP3 | tiff | 3.8.2-141.160.1 | SUSE-SU-2015:1420-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tiff | 4.0.7-1.1 | openSUSE-SU-2024:10554-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | libtiff +3 | 4.0.3-25.el7_2 | ELSA-2016-1546 |
Advisories 7
- RHSA-2016:1547 Red Hat Security Advisory: libtiff security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2016:1546 Red Hat Security Advisory: libtiff security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-2553-1 tiff vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2015:1420-1 Security update for tiff SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10554-1 libtiff-devel-32bit-4.0.7-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1475-1 Security update for tiff SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2016-1546 Important: libtiff security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 2, 2016
References
- http://support.apple.com/kb/HT204941
- RHSA-2016:1547 vendor-advisory
- 72353 vdb-entry
- https://github.com/vadz/libtiff/commit/3c5eb8b1be544e41d2c336191bc4936300ad7543
- APPLE-SA-2015-06-30-2 vendor-advisory
- [oss-security] 20150124 Multiple vulnerabilities in LibTIFF and associated tools mailing-list
- GLSA-201701-16 vendor-advisory
- 1032760 vdb-entry
- http://support.apple.com/kb/HT204942
- http://www.conostix.com/pub/adv/CVE-2014-8130-LibTIFF-Division_By_Zero.txt
- APPLE-SA-2015-06-30-1 vendor-advisory
- RHSA-2016:1546 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1185817
- http://bugzilla.maptools.org/show_bug.cgi?id=2483