CVE-2004-0597

Exp

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.

Published: 2004-11-23 Last update: 2026-04-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2004-0597 is rated High Exploit Risk (89/100): CVSS Critical severity, with high exploitation likelihood (EPSS 83.21%, 99th percentile). Core evidence: 5 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2004-0597

EDB-ID Source Kind Published Link
25094 exploit_db edb 2005-02-08 Exploit-DB ↗
393 exploit_db edb 2004-08-13 Exploit-DB ↗
389 exploit_db edb 2004-08-11 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2004-0597

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-10 83.92% 83.21% -0.71%
2 2026-04-01 85.09% 83.92% -1.17%
3 2025-08-15 85.09%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2004-0597

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
10.0 2.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
10.0 10.0 [email protected]

Weakness enumeration for CVE-2004-0597

OS Trackers for CVE-2004-0597

vendor priority summary link
redhat critical https://access.redhat.com/security/cve/CVE-2004-0597
suse high https://www.suse.com/security/cve/CVE-2004-0597/
ubuntu medium CVE-2004-0597 medium priority: Ubuntu including 2 source packages (libpng, libpng3), 8 status rows across 4 suites (dapper, edgy, feisty, upstream): released 5, needs-triage 2, DNE 1. https://ubuntu.com/security/CVE-2004-0597

Affected software / configurations for CVE-2004-0597

Vendor Product Version Raw CPE
greg_roelofs libpng <= 1.2.5 cpe:2.3:a:greg_roelofs:libpng:*:*:*:*:*:*:*:*
microsoft msn_messenger 6.1 cpe:2.3:a:microsoft:msn_messenger:6.1:*:*:*:*:*:*:*
microsoft msn_messenger 6.2 cpe:2.3:a:microsoft:msn_messenger:6.2:*:*:*:*:*:*:*
microsoft windows_media_player 9 cpe:2.3:a:microsoft:windows_media_player:9:*:*:*:*:*:*:*
microsoft windows_messenger 5.0 cpe:2.3:a:microsoft:windows_messenger:5.0:*:*:*:*:*:*:*
microsoft windows_98se cpe:2.3:o:microsoft:windows_98se:*:*:*:*:*:*:*:*
microsoft windows_me cpe:2.3:o:microsoft:windows_me:*:*:second_edition:*:*:*:*:*

References for CVE-2004-0597

URL Tags
ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.49/SCOSA-2005.49.txt
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000856
http://lists.apple.com/mhonarc/security-announce/msg00056.html
http://marc.info/?l=bugtraq&m=109163866717909&w=2
http://marc.info/?l=bugtraq&m=109181639602978&w=2
http://marc.info/?l=bugtraq&m=109761239318458&w=2
http://marc.info/?l=bugtraq&m=109900315219363&w=2
http://marc.info/?l=bugtraq&m=110796779903455&w=2
http://scary.beasts.org/security/CESA-2004-001.txt Exploit Vendor Advisory
http://secunia.com/advisories/22957
http://secunia.com/advisories/22958
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200663-1
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-114816-02-1
http://www.adobe.com/support/downloads/detail.jsp?ftpID=2679 Patch
http://www.coresecurity.com/common/showdoc.php?idx=421&idxseccion=10
http://www.debian.org/security/2004/dsa-536 Patch Vendor Advisory
http://www.gentoo.org/security/en/glsa/glsa-200408-03.xml Patch Vendor Advisory
http://www.gentoo.org/security/en/glsa/glsa-200408-22.xml Patch Vendor Advisory
http://www.kb.cert.org/vuls/id/388984 Third Party Advisory US Government Resource
http://www.kb.cert.org/vuls/id/817368 Third Party Advisory US Government Resource
http://www.mandriva.com/security/advisories?name=MDKSA-2004:079
http://www.mandriva.com/security/advisories?name=MDKSA-2006:212
http://www.mandriva.com/security/advisories?name=MDKSA-2006:213
http://www.mozilla.org/projects/security/known-vulnerabilities.html
http://www.novell.com/linux/security/advisories/2004_23_libpng.html Patch Vendor Advisory
http://www.redhat.com/support/errata/RHSA-2004-402.html
http://www.redhat.com/support/errata/RHSA-2004-421.html Vendor Advisory
http://www.redhat.com/support/errata/RHSA-2004-429.html Vendor Advisory
http://www.securityfocus.com/bid/10857 Exploit Patch Vendor Advisory
http://www.securityfocus.com/bid/15495
http://www.trustix.net/errata/2004/0040/ Patch Vendor Advisory
http://www.us-cert.gov/cas/techalerts/TA04-217A.html Third Party Advisory US Government Resource
http://www.us-cert.gov/cas/techalerts/TA05-039A.html Third Party Advisory US Government Resource
https://bugzilla.fedora.us/show_bug.cgi?id=1943
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2005/ms05-009
https://exchange.xforce.ibmcloud.com/vulnerabilities/16894
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11284
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2274
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2378
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A4492
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A594
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7709
cvelogic Threat Intelligence