nday
CVE-2004-0597

Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote…Title composed by nday; the CVE record has none.

A public PoC appeared 6 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

tags accessnetworkno authentication required exploitationExploit-DB productWindows product typeoperating system
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in AV:N/AC:L/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:L/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 25094, 389, 393
Windows
CPE names NVD's analysts give as vulnerable: o:microsoft:windows_98se, o:microsoft:windows_me, a:microsoft:windows_media_player, a:microsoft:windows_messenger
operating system
CPE names NVD's analysts give as vulnerable: o:microsoft:windows_98se, o:microsoft:windows_me, a:microsoft:windows_media_player, a:microsoft:windows_messengerthe product type of Windows in nday's product registry

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
disclosure → PoC
T+6d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2004-08-05T04:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2004-08-11, date only +2 more
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 81504,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2004-0597",
  "occurred_at": "2004-08-05T04:00:00Z",
  "observed_at": "2026-11-13T05:35:38.65165Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2004-08-05T04:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2004-08-11date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “LibPNG Graphics Library - Remote Buffer Overflow” (EDB-389). Verified by Exploit-DB.

src exploitdb 389 · nday , bulk import · raw
{
  "id": 24960,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/389",
  "occurred_at": "2004-08-11T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "389",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/389",
    "file": "exploits/linux/remote/389.c",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "LibPNG Graphics Library - Remote Buffer Overflow",
    "author": "infamous41md",
    "edb_id": 389,
    "cve_ids": [
      "CVE-2004-0597"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2004-08-10",
    "date_updated": "2016-03-30",
    "date_published": "2004-08-11"
  }
}
2004-08-13date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “LibPNG 1.2.5 - 'png_jmpbuf()' Local Buffer Overflow” (EDB-393). Verified by Exploit-DB.

src exploitdb 393 · nday , bulk import · raw
{
  "id": 24054,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/393",
  "occurred_at": "2004-08-13T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "393",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/393",
    "file": "exploits/linux/local/393.c",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "LibPNG 1.2.5 - 'png_jmpbuf()' Local Buffer Overflow",
    "author": "anonymous",
    "edb_id": 393,
    "cve_ids": [
      "CVE-2004-0597"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2004-08-12",
    "date_updated": "2016-03-30",
    "date_published": "2004-08-13"
  }
}
2005-02-08date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Microsoft MSN Messenger 6.2.0137 - '.png' Remote Buffer Overflow” (EDB-25094). Verified by Exploit-DB.

src exploitdb 25094 · nday , bulk import · raw
{
  "id": 47883,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/25094",
  "occurred_at": "2005-02-08T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "25094",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/25094",
    "file": "exploits/windows/remote/25094.cpp",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "Microsoft MSN Messenger 6.2.0137 - '.png' Remote Buffer Overflow",
    "author": "ATmaCA",
    "edb_id": 25094,
    "cve_ids": [
      "CVE-2004-0597"
    ],
    "platform": "windows",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2005-02-08",
    "date_updated": "2016-10-27",
    "date_published": "2005-02-08"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.