Home / Greg Roelofs / Libpng / CVE-2004-0598
CVE-2004-0598: is it exploited, and which versions of Greg Roelofs Libpng are affected and fixed?
CVE-2004-0598 is a vulnerability in Greg Roelofs Libpng. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: libpng through 1.2.5 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2004-0598?
The png_handle_iCCP function in libpng 1.2.5 and earlier allows remote attackers to cause a denial of service (application crash) via a certain PNG image that triggers a null dereference.
From the CVE record by mitre, last updated August 8, 2024, 00:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| greg roelofs | libpng | through 1.2.5 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:05 UTC.
How severe is CVE-2004-0598?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-0598 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 6.15% probability of exploitation activity in the next 30 days, percentile 93.6 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- 2004-0040 vendor-advisory, x_refsource_TRUSTIX
- 200663 vendor-advisory, x_refsource_SUNALERT
- http://www.mozilla.org/projects/security/known-vulnerabilities.html x_refsource_CONFIRM
- RHSA-2004:402 vendor-advisory, x_refsource_REDHAT
- oval:org.mitre.oval:def:10203 vdb-entry, signature, x_refsource_OVAL
- GLSA-200408-22 vendor-advisory, x_refsource_GENTOO
- 22958 third-party-advisory, x_refsource_SECUNIA
- FLSA:1943 vendor-advisory, x_refsource_FEDORA
- SCOSA-2004.16 vendor-advisory, x_refsource_SCO
- http://scary.beasts.org/security/CESA-2004-001.txt x_refsource_MISC
- RHSA-2004:429 vendor-advisory, x_refsource_REDHAT
- DSA-536 vendor-advisory, x_refsource_DEBIAN
- APPLE-SA-2004-09-09 vendor-advisory, x_refsource_APPLE
- 20040804 [OpenPKG-SA-2004.035] OpenPKG Security Advisory (png) mailing-list, x_refsource_BUGTRAQ
- SSRT4778 vendor-advisory, x_refsource_HP
- MDKSA-2006:213 vendor-advisory, x_refsource_MANDRIVA
- TA04-217A third-party-advisory, x_refsource_CERT
- MDKSA-2006:212 vendor-advisory, x_refsource_MANDRIVA
- libpng-pnghandleiccp-dos(16895) vdb-entry, x_refsource_XF
- VU#236656 third-party-advisory, x_refsource_CERT-VN
- CLA-2004:856 vendor-advisory, x_refsource_CONECTIVA
- 10857 vdb-entry, x_refsource_BID
- oval:org.mitre.oval:def:2572 vdb-entry, signature, x_refsource_OVAL
- SUSE-SA:2004:023 vendor-advisory, x_refsource_SUSE
- GLSA-200408-03 vendor-advisory, x_refsource_GENTOO
- MDKSA-2004:079 vendor-advisory, x_refsource_MANDRAKE
- 22957 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- June 23, 2004
- Published
- August 5, 2004, 04:00 UTC
- CVE record updated
- August 8, 2024, 00:24 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:05 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libpng?
- Jan 17, 2012CVE-2011-3328 Greg Roelofs Libpng: n/a
- Nov 17, 2006CVE-2006-5793 Greg Roelofs Libpng: improper input validation
- Jun 30, 2006CVE-2006-3334 Greg Roelofs Libpng: n/a
- Jan 31, 2006CVE-2006-0481 Greg Roelofs Libpng: memory corruption (buffer overflow)
- Sep 1, 2004CVE-2002-1363 Greg Roelofs Libpng: n/a
- Aug 5, 2004CVE-2004-0599 Greg Roelofs Libpng: n/a
- Aug 5, 2004CVE-2004-0597 Greg Roelofs Libpng: n/a
- Aug 10, 2002CVE-2002-0660 Greg Roelofs Libpng: n/a
Questions about CVE-2004-0598
Is CVE-2004-0598 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 6.15% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Greg Roelofs Libpng are affected by CVE-2004-0598?
libpng through 1.2.5, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-0598?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2004-0598?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-0598?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.