cve.bz

CVE-2004-0421 Out-of-bounds Read

no score yetEPSS 4.1%Fix available

No CVSS score yet. EPSS 4.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
4.1% (unchanged from 4.1% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2004-0421 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0421?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0421?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-0421 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libpng:libpng1.0.0
libpng:libpng1.0.5
libpng:libpng1.0.6
libpng:libpng1.0.7
libpng:libpng1.0.8
libpng:libpng1.0.9
libpng:libpng1.0.10
libpng:libpng1.0.11
libpng:libpng1.0.12
libpng:libpng1.0.13
libpng:libpng1.0.14
libpng:libpng1.2.0
libpng:libpng1.2.1
libpng:libpng1.2.2
libpng:libpng1.2.3
libpng:libpng1.2.4
libpng:libpng1.2.5
openpkg:openpkg1.3
openpkg:openpkg2.0
redhat:libpng1.2.2-16
redhat:libpng1.2.2-20
redhat:enterprise_linux2.1
redhat:enterprise_linux3.0
redhat:enterprise_linux_desktop3.0
trustix:secure_linux2.0
trustix:secure_linux2.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0libpng1.0.12-3.woody.5DSA-498
Debian3.0libpng31.2.1-1.1.woody.5DSA-498
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morelibpng, libpng-devel, libpng-debuginfo2:1.2.2-21RHSA-2004:180
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morelibpng10, libpng10-devel, libpng10-debuginfo0:1.0.13-12RHSA-2004:180

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3libpng-2:1.2.2-21Fixed 2004-05-19RHSA-2004:180
Red Hat Enterprise Linux 3libpng10-0:1.0.13-12Fixed 2004-05-19RHSA-2004:180
Red Hat Linux 9Fixed 2004-04-30RHSA-2004:181

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2004-0421.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON