{"id":"CVE-2004-1308","aliases":["DEBIAN-CVE-2004-1308","DSA-617-1","EUVD-2004-1305","GHSA-6prx-h64j-5pw3","RHSA-2005:019","RHSA-2005:021","RHSA-2005:035"],"status":"published","title":"Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows...","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.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.14972,"percentile":0.96734,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-12-22T05:00:00Z","modified":"2026-10-21T15:47:32Z","fixes":[{"ecosystem":"Debian:12","package":"tiff","fixed_in":["3.6.1-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tiff","fixed_in":["3.6.1-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tiff","fixed_in":["3.6.1-4"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"tiff","fixed_in":["3.5.5-6.woody3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-4"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.5-6.woody3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.5.7-22.el3"}]}],"bundled":2},{"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},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"libtiff-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.6.1-8"}]}],"bundled":2}],"products":[{"vendor":"libtiff","product":"libtiff"}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2005-019.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18637","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.debian.org/security/2004/dsa-617","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"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.novell.com/linux/security/advisories/2005_01_libtiff_tiff.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"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://lists.apple.com/archives/security-announce/2005/May/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9392","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:052","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","advisory"]},{"url":"http://www.idefense.com/application/poi/display?id=174\u0026type=vulnerabilities","tags":["third-party-advisory","x_refsource_IDEFENSE","x_transferred","Exploit","Patch","Vendor Advisory","advisory","evidence","fix"]},{"url":"http://www.kb.cert.org/vuls/id/125598","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","US Government Resource","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A100117","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-035.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000920","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred","web"]},{"url":"http://secunia.com/advisories/13776","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1308","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6prx-h64j-5pw3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-1308","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:019","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=143505","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=143577","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_019.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-1183","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617390","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1183","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1183","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://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-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://nvd.nist.gov/vuln/detail/CVE-2004-1307","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:035","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=144185","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=144186","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_035.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-1308","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.","status":"published","published":"2004-12-22T05:00:00Z","modified":"2024-08-08T00:46:12.421Z","updated_at":"2026-11-02T14:34:53.70484Z"}],"euvd":[{"id":"EUVD-2004-1305","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.","status":"published","published":"2004-12-22T05:00:00Z","modified":"2024-08-08T00:46:12Z","updated_at":"2026-11-03T01:15:15.601329Z"}],"ghsa":[{"id":"GHSA-6prx-h64j-5pw3","title":"Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows...","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.","status":"published","published":"2022-04-29T02:59:19Z","modified":"2023-01-30T05:03:09Z","updated_at":"2026-11-02T14:46:46.506128Z"}],"nvd":[{"id":"CVE-2004-1308","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.","status":"published","published":"2005-01-10T05:00:00Z","modified":"2026-06-16T22:07:26.567Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:53.662124Z"}],"osv":[{"id":"CVE-2004-1308","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.","status":"published","published":"2005-01-10T05:00:00Z","modified":"2026-04-10T03:36:36.419989Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-1308","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.","status":"published","published":"2005-01-10T05:00:00Z","modified":"2026-10-21T15:47:32.340317734Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-617-1","title":"libtiff - insufficient input validation","status":"published","published":"2004-12-24T00:00:00Z","modified":"2026-03-09T02:10:01.533571Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"RHSA-2005:019","title":"Red Hat Security Advisory: libtiff security update","status":"published","published":"2024-09-17T01:14:46Z","modified":"2026-06-26T10:01:57Z","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"},{"id":"RHSA-2005:035","title":"Red Hat Security Advisory: libtiff security update","status":"published","published":"2024-09-15T15:04:37Z","modified":"2026-06-26T10:02:01Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
