BreachSpiderVerified, not vibes

CVE-2004-0421 in Libpng and 5 more products

Medium 5.0

The Portable Network Graphics library (libpng) 1.0.15 and earlier allows attackers to cause a denial of service (crash) via a malformed PNG image file that triggers an error that causes an out-of-bounds read when creating the error message.

Affects 6 products from 4 vendors. Facts below cite their sources.

CVSS 2.05.0
EPSS4.1%
EPSS percentile92th
FixUnknown

Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Libpng Libpng 1.0.0 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9
+11 more1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5
Openpkg Openpkg 1.3 2.0
Redhat Enterprise Linux 2.1 3.0
Redhat Enterprise Linux Desktop 3.0
Redhat Libpng 1.2.2-16 1.2.2-20
Trustix Secure Linux 2.0 2.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The Portable Network Graphics library (libpng) 1.0.15 and earlier allows attackers to cause a denial of service (crash) via a malformed PNG image file that triggers an error that causes an out-of-bounds read when creating the error message.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2004-0421
BreachSpider IDBS-2004-GLOBAL-343561-M
CVSS vectorAV:N/AC:L/Au:N/C:N/I:N/A:P
Published2004-08-18
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-125: Out-of-Bounds Read

Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.

Related attack patterns (CAPEC)

CAPEC-540 Overread Buffers via CWE-125

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2004. A medium severity vulnerability affects Libpng systems (CVE-2004-0421). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: The Portable Network Graphics library (libpng) 1.0.15 and earlier allows attackers to cause a denial of service (crash) via a malformed PNG image file that triggers an error that causes an out-of-bounds read when creating the error message. CVSS vector: AV:N/AC:L/Au:N/C:N/I:N/A:P.

Questions

What is CVE-2004-0421?

This vulnerability was disclosed in 2004. A medium severity vulnerability affects Libpng systems (CVE-2004-0421). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2004-0421?

CVE-2004-0421 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. EPSS: 4.1%.

Is CVE-2004-0421 actively exploited?

No confirmed active exploitation of CVE-2004-0421 as of 2026-09-25.

How do I remediate CVE-2004-0421?

Priority: MONITOR. PSIRT: [email protected]

What systems are affected by CVE-2004-0421?

CVE-2004-0421 affects Libpng Libpng; Openpkg Openpkg; Redhat Enterprise Linux, Enterprise Linux Desktop, Libpng; Trustix Secure Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Libpng","product":"Libpng","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.