Skip to content
OpenAdvisories
Unscored CVE-2004-1307 EUVD-2004-1304GHSA-j2r4-vwhq-m2gg

Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code v…

Published May 4, 2005 · Updated Aug 8, 2024 · Assigned by mitre

Description

Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and 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.7.0 —
Debian 13 tiff 3.7.0 —
Debian 12 tiff 3.7.0 —
ReleasePackageFixed inAdvisory
RHEL 3 kdegraphics +1 7:3.1.3-3.7 RHSA-2005:021
RHEL 3 libtiff +1 3.5.7-20.1 RHSA-2004:577

Advisories 2

References