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
- CWE-824: Access of Uninitialized Pointer
Timeline
- 2009-02-22Published by the CNA22:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| libpng libpng | before 1.0.43fixed in 1.0.43from 1.2.0 before 1.2.35fixed in 1.2.35 | 1.0.431.2.35 |
| apple iphone_os | before 3.0fixed in 3.0 | 3.0 |
| apple mac_os_x | before 10.5.8fixed in 10.5.8 | 10.5.8 |
| debian debian_linux | 4.0no fix listed5.0no fix listed | not listednot listed |
| fedoraproject fedora | 10no fix listed9no fix listed | not listednot listed |
| opensuse opensuse | 10.3no fix listed11.0no fix listed11.1no fix listed | not listednot listednot listed |
| suse linux_enterprise | 10.0no fix listed9.0no fix listed | not listednot listed |
| suse linux_enterprise_desktop | 10no fix listed | not listed |
| suse linux_enterprise_server | 10no fix listed | not listed |
References
- ftp://ftp.simplesystems.org/pub/png/src/libpng-1.2.34-ADVISORY.txt
- http://lists.apple.com/archives/security-announce/2009/Aug/msg00001.html
- http://lists.apple.com/archives/security-announce/2009/Jun/msg00005.html
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
- http://lists.apple.com/archives/security-announce/2009/jun/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00009.html
- http://secunia.com/advisories/33970
- http://secunia.com/advisories/33976
- http://security.gentoo.org/glsa/glsa-200903-28.xml
- http://security.gentoo.org/glsa/glsa-201209-25.xml
- http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.405420
- http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.433952
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-259989-1
- http://sunsolve.sun.com/search/document.do?assetkey=1-77-1020521.1-1
- http://www.debian.org/security/2009/dsa-1750
- http://www.debian.org/security/2009/dsa-1830
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:051
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:075
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2009-0040'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2009-0040'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2009-0040'curl 'https://api.contrastcyber.com/cve_products/CVE-2009-0040'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).