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.
CVE-2004-0597
- High exploitation likelihood — EPSS 83%
A fix is available — apply it.
- CVSS v3
- —
- EG Score
- 0.0(none)
- EPSS
- 99.6%
- KEV
- Not listed
Published
November 23, 2004
Last Modified
June 16, 2026
References (84)
- cve@mitreftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.49/SCOSA-2005.49.txt
- cve@mitrehttp://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000856
- cve@mitrehttp://lists.apple.com/mhonarc/security-announce/msg00056.html
- cve@mitrehttp://marc.info/?l=bugtraq&m=109163866717909&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=109181639602978&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=109761239318458&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=109900315219363&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=110796779903455&w=2
- cve@mitrehttp://scary.beasts.org/security/CESA-2004-001.txt
- cve@mitrehttp://secunia.com/advisories/22957
- cve@mitrehttp://secunia.com/advisories/22958
- cve@mitrehttp://sunsolve.sun.com/search/document.do?assetkey=1-66-200663-1
- cve@mitrehttp://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-114816-02-1
- cve@mitrehttp://www.adobe.com/support/downloads/detail.jsp?ftpID=2679
- cve@mitrehttp://www.coresecurity.com/common/showdoc.php?idx=421&idxseccion=10
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | patch | 2004-08-18 | redhat |
| redhat | libpng10-0:1.0.13-15 | 2004-08-04 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
All Vendor Advisories
(2)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 2× in last 7d / 13× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-04 06:26 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-21 14:52 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:43 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 15:45 UTCEG score recompute
- 2026-05-31 15:45 UTCVendor advisory
- 2026-05-31 15:45 UTCGHSA enrichment
- 2026-05-31 00:13 UTCEPSS rescore
Show 9 moreShow fewer
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:36 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(3 references)Working exploit code is in the public domain (3 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-25094✓ verifiedFirst seen Feb 8, 2005
Microsoft MSN Messenger 6.2.0137 - '.png' Remote Buffer Overflow
Open source ↗ - Exploit-DBEDB-393✓ verifiedFirst seen Aug 13, 2004
LibPNG 1.2.5 - 'png_jmpbuf()' Local Buffer Overflow
Open source ↗ - Exploit-DBEDB-389✓ verifiedFirst seen Aug 11, 2004
LibPNG Graphics Library - Remote Buffer Overflow
Open source ↗
Frequently asked(4)
What is CVE-2004-0597?
When was CVE-2004-0597 disclosed?
Is CVE-2004-0597 actively exploited?
How do I remediate CVE-2004-0597?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2004-0597
Is Your Infrastructure Affected by CVE-2004-0597?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.