CVE-2009-0040 in Apple Mac Os X and 8 more products
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 ...
Affects 9 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Mac Os X | < 10.5.8 |
| Apple | Iphone Os | < 3.0 |
| Debian | Debian Linux | 4.0 5.0 |
| Fedoraproject | Fedora | 9 10 |
| Libpng | Libpng | < 1.0.43 ≥ 1.2.0, < 1.2.35 |
| Opensuse | Opensuse | 10.3 11.0 11.1 |
| Suse | Linux Enterprise | 9.0 10.0 |
| Suse | Linux Enterprise Server | 10 |
| Suse | Linux Enterprise Desktop | 10 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2009-0040 |
|---|---|
| BreachSpider ID | BS-2009-GLOBAL-325703-M |
| CVSS vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| Published | 2009-02-22 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-824: CWE-824
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2009. A medium severity vulnerability affects Apple systems (CVE-2009-0040). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 vector: AV:N/AC:M/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2009-0040?
This vulnerability was disclosed in 2009. A medium severity vulnerability affects Apple systems (CVE-2009-0040). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2009-0040?
CVE-2009-0040 has CVSS 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. EPSS: 4.8%.
Is CVE-2009-0040 actively exploited?
No confirmed active exploitation of CVE-2009-0040 as of 2026-09-25.
How do I remediate CVE-2009-0040?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2009-0040?
CVE-2009-0040 affects Apple Mac Os X, Iphone Os; Debian Debian Linux; Fedoraproject Fedora; Libpng Libpng; Opensuse Opensuse; Suse Linux Enterprise, Linux Enterprise Server, Linux Enterprise Desktop.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Mac Os X","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.