Skip to content
Noroxi
CVE-2004-0597· NVD / CVE Program· CNA mitre

Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote attackers to execute arbitrary code via ma

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.

CriticalCVSS 10.0 · v2.0—Proof of concept Fix available
Published
Nov 23, 2004
Updated
Jun 16, 2026
EPSS
81.9% · 100th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

65

This week

Don’t wait for the next maintenance window.

CVSS
40 / 40 · 10.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
25 / 30 · 81.9%

Affected systems

VendorProduct
greg roelofslibpng
microsoftmsn messenger
microsoftwindows media player
microsoftwindows messenger
microsoftwindows 98se
microsoftwindows me

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • greg roelofs libpngup to 1.2.5 inclusive
  • microsoft msn messenger6.1
  • microsoft msn messenger6.2
  • microsoft windows 98seall versions
  • microsoft windows meall versions
  • microsoft windows media player9
  • microsoft windows messenger5.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:3.0libpngbefore 1.0.12-3.woody.71.0.12-3.woody.7
Debian:3.0libpng3before 1.2.1-1.1.woody.71.2.1-1.1.woody.7
Red Hat:enterprise_linux:3::aslibpngbefore 2:1.2.2-252:1.2.2-25
Red Hat:enterprise_linux:3::aslibpng-debuginfobefore 2:1.2.2-252:1.2.2-25
Red Hat:enterprise_linux:3::aslibpng-develbefore 2:1.2.2-252:1.2.2-25
Red Hat:enterprise_linux:3::aslibpng10before 0:1.0.13-150:1.0.13-15
Red Hat:enterprise_linux:3::aslibpng10-debuginfobefore 0:1.0.13-150:1.0.13-15
Red Hat:enterprise_linux:3::aslibpng10-develbefore 0:1.0.13-150:1.0.13-15

Other highest-scoring records for the same primary product.

  • CVE-2002-1363Portable Network Graphics (PNG) library libpng 1.2.5 and earlier does not correctly calculate offsets, which allows remote attackers to caus
    32Monitor
  • CVE-2006-3334Buffer overflow in the png_decompress_chunk function in pngrutil.c in libpng before 1.2.12 allows context-dependent attackers to cause a den
    31Monitor
  • CVE-2002-0660Buffer overflow in libpng 1.0.12-3.woody.2 and libpng3 1.2.1-1.1.woody.2 on Debian GNU/Linux 3.0, and other operating systems, may allow att
    31Monitor
  • CVE-2004-0598The png_handle_iCCP function in libpng 1.2.5 and earlier allows remote attackers to cause a denial of service (application crash) via a cert
    22Monitor
  • CVE-2004-0599Multiple integer overflows in the (1) png_read_png in pngread.c or (2) png_handle_sPLT functions in pngrutil.c or (3) progressive display im
    22Monitor
  • CVE-2006-0481Heap-based buffer overflow in the alpha strip capability in libpng 1.2.7 allows context-dependent attackers to cause a denial of service (cr
    21Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libpng1.0.12-3.woody.7 · Debian:3.0Package registry (OSV)
debian:libpng31.2.1-1.1.woody.7 · Debian:3.0Package registry (OSV)
red hat:libpng2:1.2.2-25 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:libpng-debuginfo2:1.2.2-25 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:libpng-devel2:1.2.2-25 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:libpng100:1.0.13-15 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:libpng10-debuginfo0:1.0.13-15 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:libpng10-devel0:1.0.13-15 · Red Hat:enterprise_linux:3::asPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×3

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrylocal2004-08-13
Exploit-DB entryremote2004-08-11
Exploit-DB entryremote2005-02-08

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-104 d
  2. Published
  3. TodaySep 30, 2026+7981 d
EPSS, last 120 days-1% in 7 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
C · data can be read
Integrity
C · data or configuration can be modified
Availability
C · the service can be disrupted
Attack complexity
Low
Confidentiality impact
C
Integrity impact
C
Availability impact
C

Weakness class (CWE)

—

CVSS vector

AV:N/AC:L/Au:N/C:C/I:C/A:C

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records