{"id":"DEBIAN-CVE-2004-1307","details":"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.","modified":"2026-09-15T06:47:26.668536929Z","published":"2004-12-21T05:00:00Z","upstream":["CVE-2004-1307"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2004-1307"}],"affected":[{"package":{"name":"tiff","ecosystem":"Debian:12","purl":"pkg:deb/debian/tiff?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.0"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-1307.json"}},{"package":{"name":"tiff","ecosystem":"Debian:13","purl":"pkg:deb/debian/tiff?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.0"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-1307.json"}},{"package":{"name":"tiff","ecosystem":"Debian:14","purl":"pkg:deb/debian/tiff?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.0"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-1307.json"}}],"schema_version":"1.9.0"}