CVE-2004-0421
The Portable Network Graphics library (libpng) 1.0.15 and earlier allows attackers to cause a...
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.
Exploit likelihood
What each source reports
NVD Score used
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.
- Record
CVE-2004-0421- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-0421- Updated
- 2026-11-02
EUVDEUVD-2004-0420 No score
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.
- Record
EUVD-2004-0420- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f6gc-489h-x492 No score
The Portable Network Graphics library (libpng) 1.0.15 and earlier allows attackers to cause a...
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.
- Record
GHSA-f6gc-489h-x492- Weakness
- CWE-125
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libpngDebian:3.0 |
before 1.0.12-3.woody.5 | 1.0.12-3.woody.5 |
libpng3Debian:3.0 |
before 1.2.1-1.1.woody.5 | 1.2.1-1.1.woody.5 |
libpngRed Hat:enterprise_linux:3::as |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng-debuginfoRed Hat:enterprise_linux:3::as |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng-develRed Hat:enterprise_linux:3::as |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng10Red Hat:enterprise_linux:3::as |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpng10-debuginfoRed Hat:enterprise_linux:3::as |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpng10-develRed Hat:enterprise_linux:3::as |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpngRed Hat:enterprise_linux:3::desktop |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng-debuginfoRed Hat:enterprise_linux:3::desktop |
before 2:1.2.2-21 | 2:1.2.2-21 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libpng-develRed Hat:enterprise_linux:3::desktop |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng10Red Hat:enterprise_linux:3::desktop |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpng10-debuginfoRed Hat:enterprise_linux:3::desktop |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpng10-develRed Hat:enterprise_linux:3::desktop |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpngRed Hat:enterprise_linux:3::es |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng-debuginfoRed Hat:enterprise_linux:3::es |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng-develRed Hat:enterprise_linux:3::es |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng10Red Hat:enterprise_linux:3::es |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpng10-debuginfoRed Hat:enterprise_linux:3::es |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpng10-develRed Hat:enterprise_linux:3::es |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpngRed Hat:enterprise_linux:3::ws |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng-debuginfoRed Hat:enterprise_linux:3::ws |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng-develRed Hat:enterprise_linux:3::ws |
before 2:1.2.2-21 | 2:1.2.2-21 |
libpng10Red Hat:enterprise_linux:3::ws |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpng10-debuginfoRed Hat:enterprise_linux:3::ws |
before 0:1.0.13-12 | 0:1.0.13-12 |
libpng10-develRed Hat:enterprise_linux:3::ws |
before 0:1.0.13-12 | 0:1.0.13-12 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-0421 is a medium vulnerability (CVSS 5.0) in Libpng, published April 30, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.11%, the 90th percentile. Fixed in libpng 1.0.12-3.woody.5.
References
marc.info?l=fedora-announce-list&m=108451353608968&w=2
marc.info?l=bugtraq&m=108334922320309&w=2
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A971
debian.org/security/2004/dsa-498
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11710
mandriva.com/security/advisories?name=MDKSA-2004:040
Show 19 moreShow less
secunia.com/advisories/22958
exchange.xforce.ibmcloud.com/vulnerabilities/16022
lists.apple.com/mhonarc/security-announce/msg00056.html
securityfocus.com/bid/10244
marc.info?l=fedora-announce-list&m=108451350029261&w=2
mandriva.com/security/advisories?name=MDKSA-2006:213
redhat.com/support/errata/RHSA-2004-180.html
mandriva.com/security/advisories?name=MDKSA-2006:212
marc.info?l=bugtraq&m=108335030208523&w=2
redhat.com/support/errata/RHSA-2004-181.html
secunia.com/advisories/22957
nvd.nist.gov/vuln/detail/CVE-2004-0421
github.com/advisories/GHSA-f6gc-489h-x492
access.redhat.com/errata/RHSA-2004:180
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=121229
security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_180.json
access.redhat.com/security/cve/CVE-2004-0421
cve.org/CVERecord?id=CVE-2004-0421