Live threats

All CVEs / Libpng

CVE-2009-0040Libpng

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
4.8%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Feb 22, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-824
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

The PNG reference library (aka libpng) before 1.0.43, and 1.2.x before 1.2.35, as used in pngcrush and other applications, allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted PNG file that triggers a free of an uninitialized pointer in (1) the png_read_png function, (2) pCAL chunk handling, or (3) setup of 16-bit gamma tables.

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
libpnglibpng< 1.0.43
libpnglibpng≥ 1.2.0 < 1.2.35
appleiphone_os< 3.0
applemac_os_x< 10.5.8
opensuseopensuse10.3
opensuseopensuse11.0
opensuseopensuse11.1
suselinux_enterprise9.0
suselinux_enterprise10.0
suselinux_enterprise_desktop10
suselinux_enterprise_server10
debiandebian_linux4.0
debiandebian_linux5.0
fedoraprojectfedora9
fedoraprojectfedora10

Official sources

References

Links published by the sources. Open them with care.