CVE-2009-0040
Reported by redhat · Published February 22, 2009
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mac_os_x | apple | 10.5.8 |
| libpng | libpng | 1.2.35, 1.0.43 |
| iphone_os | apple | 3.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Feb 20, 2009 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- May 3, 2022 CVE Updated
- Jun 1, 2026 Security Advisory (10 in total, the first dated here)
- Aug 8, 2026 Distribution Patch (2 in total, the first dated here)
- Nov 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2009-0040
vulnetix vdb fixes CVE-2009-0040
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2009-0040/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2009:0315 vendor-advisoryx_refsource_REDHAT
- SUSE-SA:2009:023 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- SUSE-SA:2009:012 vendor-advisoryx_refsource_SUSE
- GLSA-200903-28 vendor-advisoryx_refsource_GENTOO
- RHSA-2009:0333 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 35386 third-party-advisoryx_refsource_SECUNIA
- GLSA-201209-25 vendor-advisoryx_refsource_GENTOO
- DSA-1830 vendor-advisoryx_refsource_DEBIAN
- ADV-2009-0632 vdb-entryx_refsource_VUPEN
- ADV-2009-1621 vdb-entryx_refsource_VUPEN
- RHSA-2009:0340 vendor-advisoryx_refsource_REDHAT
- 1020521 vendor-advisoryx_refsource_SUNALERT
- x_refsource_CONFIRM
- ADV-2009-1560 vdb-entryx_refsource_VUPEN
- oval:org.mitre.oval:def:10316 vdb-entrysignaturex_refsource_OVAL
- ADV-2009-0469 vdb-entryx_refsource_VUPEN
- 34388 third-party-advisoryx_refsource_SECUNIA
- ADV-2009-1462 vdb-entryx_refsource_VUPEN
…and 63 more