CVE-2004-0597
10.0CVSSCRITICAL
Description
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.
CVSS Vector Breakdown
Exploitability
AV:NAccess VectorNetwork
AC:LAccess ComplexityLow
Au:NAuthenticationNone
Impact
C:CConfidentialityComplete
I:CIntegrityComplete
A:CAvailabilityComplete
Weaknesses
Affected Products
and 3 more affected products View all →
Exploitability
2 exploit sources identified
Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.
View exploit details Official Patch Available
References
http://www.cvedetails.com/cve-details.php?t=1&cve_id=2002–1363
cvedetails.com
http://www.cvedetails.com/cve-details.php?t=1&cve_id=2004–0421
cvedetails.com
http://www.cvedetails.com/cve-details.php?t=1&cve_id=2004–0597
cvedetails.com
and 43 more references View all →
Timeline
Published
Aug 5, 2004
Last Updated
Apr 16, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2004-0597 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows