CVE-2009-0040

Description

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
4.825%
chance of exploitation in the next 30 days
higher than 92.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2009-02-22Published by the CNA22:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
libpng libpngbefore 1.0.43fixed in 1.0.43from 1.2.0 before 1.2.35fixed in 1.2.351.0.431.2.35
apple iphone_osbefore 3.0fixed in 3.03.0
apple mac_os_xbefore 10.5.8fixed in 10.5.810.5.8
debian debian_linux4.0no fix listed5.0no fix listednot listednot listed
fedoraproject fedora10no fix listed9no fix listednot listednot listed
opensuse opensuse10.3no fix listed11.0no fix listed11.1no fix listednot listednot listednot listed
suse linux_enterprise10.0no fix listed9.0no fix listednot listednot listed
suse linux_enterprise_desktop10no fix listednot listed
suse linux_enterprise_server10no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

82 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources