{"id":"CVE-2004-1307","aliases":["DEBIAN-CVE-2004-1307","EUVD-2004-1304","GHSA-j2r4-vwhq-m2gg","RHSA-2004:577","RHSA-2005:021"],"status":"published","title":"Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0634,"percentile":0.93678,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-12-21T05:00:00Z","modified":"2026-10-21T15:47:30Z","fixes":[{"ecosystem":"Debian:12","package":"tiff","fixed_in":["3.7.0"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tiff","fixed_in":["3.7.0"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tiff","fixed_in":["3.7.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.0"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.0"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.0"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-20.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"kdegraphics","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"kdegraphics-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"kdegraphics-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"kdegraphics","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"kdegraphics-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"kdegraphics-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"kdegraphics","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"kdegraphics-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"kdegraphics-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"kdegraphics","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"kdegraphics-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"kdegraphics-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7:3.1.3-3.7"}]}],"bundled":5}],"products":[{"vendor":"apple","product":"mac_os_x"},{"vendor":"apple","product":"mac_os_x_server"},{"vendor":"avaya","product":"call_management_system_server"},{"vendor":"avaya","product":"cvlan"},{"vendor":"avaya","product":"integrated_management"},{"vendor":"avaya","product":"interactive_response"},{"vendor":"avaya","product":"intuity_audix_lx"},{"vendor":"avaya","product":"mn100"},{"vendor":"avaya","product":"modular_messaging_message_storage_server"},{"vendor":"conectiva","product":"linux"},{"vendor":"f5","product":"icontrol_service_manager"},{"vendor":"gentoo","product":"linux"},{"vendor":"libtiff","product":"libtiff"},{"vendor":"mandrakesoft","product":"mandrake_linux"},{"vendor":"mandrakesoft","product":"mandrake_linux_corporate_server"},{"vendor":"sco","product":"unixware"},{"vendor":"sgi","product":"propack"},{"vendor":"sun","product":"solaris"},{"vendor":"sun","product":"sunos"}],"references":[{"url":"http://www.us-cert.gov/cas/techalerts/TA05-136A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource","web"]},{"url":"http://www.kb.cert.org/vuls/id/539110","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","Patch","Third Party Advisory","US Government Resource","advisory","fix","web"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred","web"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred","web"]},{"url":"http://www.idefense.com/application/poi/display?id=173\u0026type=vulnerabilities\u0026flashstatus=true","tags":["third-party-advisory","x_refsource_IDEFENSE","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://lists.apple.com/archives/security-announce/2005/May/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11175","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1307","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-j2r4-vwhq-m2gg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-1307","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2004:577","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=134847","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=134850","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_577.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0803","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617294","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0803","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0803","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0804","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617295","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0804","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0804","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0886","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617314","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0886","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0886","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-1307","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617405","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1307","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:021","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=135466","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=135470","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_021.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-1308","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617406","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1308","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1308","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-1307","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.","status":"published","published":"2005-05-04T04:00:00Z","modified":"2024-08-08T00:46:12.284Z","updated_at":"2026-11-02T14:34:54.398187Z"}],"euvd":[{"id":"EUVD-2004-1304","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.","status":"published","published":"2005-05-04T04:00:00Z","modified":"2024-08-08T00:46:12Z","updated_at":"2026-11-03T01:15:15.601329Z"}],"ghsa":[{"id":"GHSA-j2r4-vwhq-m2gg","title":"Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows...","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.","status":"published","published":"2022-04-29T02:59:19Z","modified":"2023-01-30T05:03:22Z","updated_at":"2026-11-02T14:46:49.507262Z"}],"nvd":[{"id":"CVE-2004-1307","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.","status":"published","published":"2004-12-21T05:00:00Z","modified":"2026-06-16T22:07:26.427Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:51.985436Z"}],"osv":[{"id":"CVE-2004-1307","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.","status":"published","published":"2004-12-21T05:00:00Z","modified":"2026-04-10T03:36:35.247334Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-1307","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.","status":"published","published":"2004-12-21T05:00:00Z","modified":"2026-10-21T15:47:30.492187186Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"RHSA-2004:577","title":"Red Hat Security Advisory: libtiff security update","status":"published","published":"2024-09-15T14:57:25Z","modified":"2026-06-26T10:01:41Z","updated_at":"2026-11-02T15:52:59.135214Z"},{"id":"RHSA-2005:021","title":"Red Hat Security Advisory: kdegraphics security update","status":"published","published":"2024-09-15T14:57:33Z","modified":"2026-06-26T10:01:57Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
