CVE-2004-0421

CVE-2004-0421 is a medium-severity vulnerability in Libpng with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-125.

Key facts

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.

Frequently asked questions

What is CVE-2004-0421?
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.
How severe is CVE-2004-0421?
CVE-2004-0421 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2004-0421 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2004-0421?
CVE-2004-0421 primarily affects Libpng. In total, 26 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2004-0421?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2004-0421 published?
CVE-2004-0421 was published on 2004-08-18 and last updated on 2026-06-16.

References

Affected products (26)

More vulnerabilities in Libpng

All CVEs affecting Libpng →

Other CWE-125 (Out-of-bounds Read) vulnerabilities

Browse all CWE-125 (Out-of-bounds Read) vulnerabilities →