{"cve":"CVE-2009-0040","nvd":{"published":"2009-02-22T22:30:00.203","modified":"2026-06-16T23:04:08.857","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-824"],"references":["ftp://ftp.simplesystems.org/pub/png/src/libpng-1.2.34-ADVISORY.txt","http://downloads.sourceforge.net/libpng/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"],"products":["apple:iphone_os","apple:mac_os_x","debian:debian_linux","fedoraproject:fedora","libpng:libpng","opensuse:opensuse","suse:linux_enterprise","suse:linux_enterprise_desktop","suse:linux_enterprise_server"],"source":"nvd","synced_at":"2026-10-19T19:53:23.791937413+00:00"},"epss":{"cve":"CVE-2009-0040","score":0.04825,"percentile":0.91982,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}