Live threats
VulnFox

All CVEs / Libpng

CVE-2004-0421Libpng

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
—
Auth required
No
Published
Aug 18, 2004
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libpng.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libpnglibpng1.0.0
libpnglibpng1.0.5
libpnglibpng1.0.6
libpnglibpng1.0.7
libpnglibpng1.0.8
libpnglibpng1.0.9
libpnglibpng1.0.10
libpnglibpng1.0.11
libpnglibpng1.0.12
libpnglibpng1.0.13
libpnglibpng1.0.14
libpnglibpng1.2.0
libpnglibpng1.2.1
libpnglibpng1.2.2
libpnglibpng1.2.3
libpnglibpng1.2.4
libpnglibpng1.2.5
openpkgopenpkg1.3
openpkgopenpkg2.0
redhatlibpng1.2.2-16
redhatlibpng1.2.2-20
redhatenterprise_linux2.1
redhatenterprise_linux3.0
redhatenterprise_linux_desktop3.0
trustixsecure_linux2.0
trustixsecure_linux2.1

Official sources

References

Links published by the sources. Open them with care.