Remote code executionin CVE-2004-0597.
Proof of concept public (Exploit-DB).
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 23 Jun 2004CVE ID reserved by mitre.
- 5 Aug 2004Published in the CVE List.
- 8 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- www.trustix.net vendor-advisory, x_refsource_TRUSTIX
- sunsolve.sun.com vendor-advisory, x_refsource_SUNALERT
- oval.cisecurity.org vdb-entry, signature, x_refsource_OVAL
- www.mozilla.org x_refsource_CONFIRM
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- www.gentoo.org vendor-advisory, x_refsource_GENTOO
- secunia.com third-party-advisory, x_refsource_SECUNIA
- sunsolve.sun.com x_refsource_CONFIRM
- marc.info vendor-advisory, x_refsource_FEDORA
- bugzilla.fedora.us vendor-advisory, x_refsource_FEDORA
- oval.cisecurity.org vdb-entry, signature, x_refsource_OVAL
- www.us-cert.gov third-party-advisory, x_refsource_CERT
- exchange.xforce.ibmcloud.com vdb-entry, x_refsource_XF
- marc.info vendor-advisory, x_refsource_SCO
- scary.beasts.org x_refsource_MISC
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- oval.cisecurity.org vdb-entry, signature, x_refsource_OVAL
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.kb.cert.org third-party-advisory, x_refsource_CERT-VN
- lists.apple.com vendor-advisory, x_refsource_APPLE
- www.kb.cert.org third-party-advisory, x_refsource_CERT-VN
- marc.info mailing-list, x_refsource_BUGTRAQ
- oval.cisecurity.org vdb-entry, signature, x_refsource_OVAL
- marc.info vendor-advisory, x_refsource_HP
- docs.microsoft.com vendor-advisory, x_refsource_MS
- www.mandriva.com vendor-advisory, x_refsource_MANDRIVA
- www.us-cert.gov third-party-advisory, x_refsource_CERT
- www.adobe.com x_refsource_CONFIRM
Patchminder. CVE-2004-0597: Remote code execution in CVE-2004-0597. https://patchminder.com/cve/cve-2004-0597/ (accessed 5 December 2026).