{"id":"CVE-2004-0597","published":"2004-08-05T04:00:00Z","modified":"2024-08-08T00:24:26Z","title":"Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote attackers to execute…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote attackers to execute arbitrary code via malformed PNG images in which (1) the png_handle_tRNS function does not properly validate the length of transparency chunk (tRNS) data, or the (2) png_handle_sBIT or (3) png_handle_hIST functions do not perform sufficient bounds checking.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a set of buffer overflows in libpng version 1.2.5 and earlier, a PNG image library used in multiple products, located in the png_handle_tRNS, png_handle_sBIT and png_handle_hIST functions, where transparency chunk length is not properly validated and bounds checking is insufficient. A remote attacker who supplies a malformed PNG image can exploit these overflows to execute arbitrary code, with no authentication, network position or configuration requirements stated beyond the victim processing that image.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:15:48Z"},"cvss":null,"epss":{"score":0.81856,"percentile":0.99647,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"CVE Data","url":"https://otx.alienvault.com/pulse/69929b597293fe5837b9c95c","created":"2026-02-16"},{"name":"CVE -CVE Reference Map for Source MS - Curios RE active candidates CVE version 20061101","url":"https://otx.alienvault.com/pulse/679c3446de4f362fac9217f9","created":"2025-01-31"}],"provenance":"machine"},"cwes":[],"references":[{"url":"http://www.trustix.net/errata/2004/0040/","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-66-200663-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2274","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.mozilla.org/projects/security/known-vulnerabilities.html","tags":["x_refsource_CONFIRM"]},{"url":"ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.49/SCOSA-2005.49.txt","tags":["vendor-advisory","x_refsource_SCO"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-421.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-402.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200408-22.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/22958","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-114816-02-1","tags":["x_refsource_CONFIRM"]},{"url":"http://marc.info/?l=bugtraq&m=109900315219363&w=2","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=1943","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A594","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA05-039A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16894","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://marc.info/?l=bugtraq&m=109761239318458&w=2","tags":["vendor-advisory","x_refsource_SCO"]},{"url":"http://scary.beasts.org/security/CESA-2004-001.txt","tags":["x_refsource_MISC"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-429.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2378","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.securityfocus.com/bid/15495","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.debian.org/security/2004/dsa-536","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.kb.cert.org/vuls/id/388984","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://lists.apple.com/mhonarc/security-announce/msg00056.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.kb.cert.org/vuls/id/817368","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://marc.info/?l=bugtraq&m=109163866717909&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A4492","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://marc.info/?l=bugtraq&m=109181639602978&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2005/ms05-009","tags":["vendor-advisory","x_refsource_MS"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:213","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA04-217A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://www.adobe.com/support/downloads/detail.jsp?ftpID=2679","tags":["x_refsource_CONFIRM"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7709","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:212","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://marc.info/?l=bugtraq&m=110796779903455&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.coresecurity.com/common/showdoc.php?idx=421&idxseccion=10","tags":["x_refsource_MISC"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000856","tags":["vendor-advisory","x_refsource_CONECTIVA"]},{"url":"http://www.securityfocus.com/bid/10857","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.novell.com/linux/security/advisories/2004_23_libpng.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200408-03.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11284","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:079","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"http://secunia.com/advisories/22957","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2004-0596","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2004-0596","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":389,"url":"https://www.exploit-db.com/exploits/389","title":"LibPNG Graphics Library - Remote Buffer Overflow","type":"remote","platform":"linux","date":"2004-08-11","verified":true,"provenance":"source"},{"id":393,"url":"https://www.exploit-db.com/exploits/393","title":"LibPNG 1.2.5 - 'png_jmpbuf()' Local Buffer Overflow","type":"local","platform":"linux","date":"2004-08-13","verified":true,"provenance":"source"},{"id":25094,"url":"https://www.exploit-db.com/exploits/25094","title":"Microsoft MSN Messenger 6.2.0137 - '.png' Remote Buffer Overflow","type":"remote","platform":"windows","date":"2005-02-08","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":3,"earliest":"2004-08-11"},"first":{"date":"2004-08-11","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/389"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2004-08-05","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2004-0597","provenance":"source"},{"date":"2004-08-11","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-389)","url":"https://www.exploit-db.com/exploits/389","provenance":"source"}],"speed":{"daysToPublicExploit":6,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":26.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.93,"detail":"percentile 0.9965"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 Exploit-DB entries"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}