{"id":"CVE-2004-1307","state":"PUBLISHED","title":"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","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.","publishedAt":"2005-05-04T04:00:00.000Z","updatedAt":"2024-08-08T00:46:12.284Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.us-cert.gov/cas/techalerts/TA05-136A.html","http://www.kb.cert.org/vuls/id/539110","http://sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1","http://sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1","http://www.idefense.com/application/poi/display?id=173&type=vulnerabilities&flashstatus=true","http://lists.apple.com/archives/security-announce/2005/May/msg00001.html","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11175"],"weaknesses":[],"ingestedAt":"2026-10-29T19:27:02.310Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2004/1xxx/CVE-2004-1307.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2004-1307","state":"PUBLISHED","datePublished":"2005-05-04T04:00:00.000Z","dateUpdated":"2024-08-08T00:46:12.284Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2004-12-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.us-cert.gov/cas/techalerts/TA05-136A.html","name":"TA05-136A","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://www.kb.cert.org/vuls/id/539110","name":"VU#539110","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1","name":"201072","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1","name":"101677","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://www.idefense.com/application/poi/display?id=173&type=vulnerabilities&flashstatus=true","name":"20041221 libtiff STRIPOFFSETS Integer Overflow Vulnerability","tags":["third-party-advisory","x_refsource_IDEFENSE"]},{"url":"http://lists.apple.com/archives/security-announce/2005/May/msg00001.html","name":"APPLE-SA-2005-05-03","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11175","name":"oval:org.mitre.oval:def:11175","tags":["vdb-entry","signature","x_refsource_OVAL"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-10-10T00:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2004-12-21T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-1307","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"TA05-136A","refsource":"CERT","url":"http://www.us-cert.gov/cas/techalerts/TA05-136A.html"},{"name":"VU#539110","refsource":"CERT-VN","url":"http://www.kb.cert.org/vuls/id/539110"},{"name":"201072","refsource":"SUNALERT","url":"http://sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1"},{"name":"101677","refsource":"SUNALERT","url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1"},{"name":"20041221 libtiff STRIPOFFSETS Integer Overflow Vulnerability","refsource":"IDEFENSE","url":"http://www.idefense.com/application/poi/display?id=173&type=vulnerabilities&flashstatus=true"},{"name":"APPLE-SA-2005-05-03","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2005/May/msg00001.html"},{"name":"oval:org.mitre.oval:def:11175","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11175"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.us-cert.gov/cas/techalerts/TA05-136A.html","name":"TA05-136A","tags":["third-party-advisory","x_refsource_CERT","x_transferred"]},{"url":"http://www.kb.cert.org/vuls/id/539110","name":"VU#539110","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1","name":"201072","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1","name":"101677","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred"]},{"url":"http://www.idefense.com/application/poi/display?id=173&type=vulnerabilities&flashstatus=true","name":"20041221 libtiff STRIPOFFSETS Integer Overflow Vulnerability","tags":["third-party-advisory","x_refsource_IDEFENSE","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2005/May/msg00001.html","name":"APPLE-SA-2005-05-03","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11175","name":"oval:org.mitre.oval:def:11175","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-08T00:46:12.284Z"}}]}}}