Every CVE Search/ Get API key

CVE-2004-0421

The Portable Network Graphics library (libpng) 1.0.15 and earlier allows attackers to cause a...

5.0 MediumFix available

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

4.11%Up 1.4 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
libpng
Debian:3.0
before 1.0.12-3.woody.5
1.0.12-3.woody.5
libpng3
Debian:3.0
before 1.2.1-1.1.woody.5
1.2.1-1.1.woody.5
libpng
Red Hat:enterprise_linux:3::as
before 2:1.2.2-21
2:1.2.2-21
libpng-debuginfo
Red Hat:enterprise_linux:3::as
before 2:1.2.2-21
2:1.2.2-21
libpng-devel
Red Hat:enterprise_linux:3::as
before 2:1.2.2-21
2:1.2.2-21
libpng10
Red Hat:enterprise_linux:3::as
before 0:1.0.13-12
0:1.0.13-12
libpng10-debuginfo
Red Hat:enterprise_linux:3::as
before 0:1.0.13-12
0:1.0.13-12
libpng10-devel
Red Hat:enterprise_linux:3::as
before 0:1.0.13-12
0:1.0.13-12
libpng
Red Hat:enterprise_linux:3::desktop
before 2:1.2.2-21
2:1.2.2-21
libpng-debuginfo
Red Hat:enterprise_linux:3::desktop
before 2:1.2.2-21
2:1.2.2-21
Show 16 moreShow less
Affected packages
PackageAffectedFixed
libpng-devel
Red Hat:enterprise_linux:3::desktop
before 2:1.2.2-21
2:1.2.2-21
libpng10
Red Hat:enterprise_linux:3::desktop
before 0:1.0.13-12
0:1.0.13-12
libpng10-debuginfo
Red Hat:enterprise_linux:3::desktop
before 0:1.0.13-12
0:1.0.13-12
libpng10-devel
Red Hat:enterprise_linux:3::desktop
before 0:1.0.13-12
0:1.0.13-12
libpng
Red Hat:enterprise_linux:3::es
before 2:1.2.2-21
2:1.2.2-21
libpng-debuginfo
Red Hat:enterprise_linux:3::es
before 2:1.2.2-21
2:1.2.2-21
libpng-devel
Red Hat:enterprise_linux:3::es
before 2:1.2.2-21
2:1.2.2-21
libpng10
Red Hat:enterprise_linux:3::es
before 0:1.0.13-12
0:1.0.13-12
libpng10-debuginfo
Red Hat:enterprise_linux:3::es
before 0:1.0.13-12
0:1.0.13-12
libpng10-devel
Red Hat:enterprise_linux:3::es
before 0:1.0.13-12
0:1.0.13-12
libpng
Red Hat:enterprise_linux:3::ws
before 2:1.2.2-21
2:1.2.2-21
libpng-debuginfo
Red Hat:enterprise_linux:3::ws
before 2:1.2.2-21
2:1.2.2-21
libpng-devel
Red Hat:enterprise_linux:3::ws
before 2:1.2.2-21
2:1.2.2-21
libpng10
Red Hat:enterprise_linux:3::ws
before 0:1.0.13-12
0:1.0.13-12
libpng10-debuginfo
Red Hat:enterprise_linux:3::ws
before 0:1.0.13-12
0:1.0.13-12
libpng10-devel
Red Hat:enterprise_linux:3::ws
before 0:1.0.13-12
0:1.0.13-12

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 19 moreShow less
MoveEnter Open