Skip to content
OpenAdvisories
Unscored CVE-2004-1308 EUVD-2004-1305GHSA-6prx-h64j-5pw3

Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows remote attackers to execute arbitrary code via …

Published Dec 22, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows remote attackers to execute arbitrary code via a TIFF file containing a TIFF_ASCII or TIFF_UNDEFINED directory entry with a -1 entry count, which leads to 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.

ReleasePackageFixed inAdvisory
Debian 14 tiff 3.6.1-4 —
Debian 13 tiff 3.6.1-4 —
Debian 12 tiff 3.6.1-4 —
Debian 3.0 tiff 3.5.5-6.woody3 DSA-617-1
ReleasePackageFixed inAdvisory
RHEL 4 libtiff +1 3.6.1-8 RHSA-2005:035
RHEL 3 kdegraphics +1 7:3.1.3-3.7 RHSA-2005:021
RHEL 3 libtiff +1 3.5.7-22.el3 RHSA-2005:019

Advisories 4

References