CVE-2009-0040: 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…
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.8% (FIRST EPSS); higher than 92.1% of all records.
- Fixed version: libpng (Debian:4.0) 1.2.15~beta5-1+etch2; icedove (Debian:5.0) 2.0.0.22-0lenny1; libpng (Debian:5.0) 1.2.27-2+lenny2.
Low priority for now. Upgrade to libpng (Debian:4.0) 1.2.15~beta5-1+etch2; icedove (Debian:5.0) 2.0.0.22-0lenny1; libpng (Debian:5.0) 1.2.27-2+lenny2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2015-06312
- BDU:2015-06315
- BDU:2015-07019
- BDU:2015-07021
- BDU:2015-07023
- BDU:2015-07026
- BDU:2015-08406
- BDU:2015-08407
- BDU:2015-08474
- BDU:2015-08475
- BDU:2015-08476
- BDU:2015-08477
- BDU:2015-09372
- DSA-1750-1
- DSA-1830-1
- openSUSE-SU-2024:10071-1
- openSUSE-SU-2024:10230-1
- openSUSE-SU-2024:10972-1
- RHSA-2009:0315
- RHSA-2009:0325
- Published
- Feb 22, 2009
- Updated
- Jun 16, 2026
- EPSS
- 4.8% · 92th percentile
- CWE
- CWE-824
Report tools
Action score
28
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.8%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libpng | libpng | cpe:2.3:a:libpng:libpng |
| apple | iphone os | cpe:2.3:o:apple:iphone_os |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
| suse | linux enterprise | cpe:2.3:o:suse:linux_enterprise |
| suse | linux enterprise desktop | cpe:2.3:o:suse:linux_enterprise_desktop |
| suse | linux enterprise server | cpe:2.3:o:suse:linux_enterprise_server |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple iphone osbefore 3.0
- apple mac os xbefore 10.5.8
- debian debian linux4.0
- debian debian linux5.0
- fedoraproject fedora10
- fedoraproject fedora9
- libpng libpngbefore 1.0.43
- libpng libpng1.2.0 and later · before 1.2.35
+7 more rows
- opensuse opensuse10.3
- opensuse opensuse11.0
- opensuse opensuse11.1
- suse linux enterprise10.0
- suse linux enterprise9.0
- suse linux enterprise desktop10
- suse linux enterprise server10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | libpng | before 1.2.15~beta5-1+etch2 | 1.2.15~beta5-1+etch2 |
| Debian:5.0 | icedove | before 2.0.0.22-0lenny1 | 2.0.0.22-0lenny1 |
| Debian:5.0 | libpng | before 1.2.27-2+lenny2 | 1.2.27-2+lenny2 |
| openSUSE:Tumbleweed | libpng16 | before 1.6.37-3.3 | 1.6.37-3.3 |
| openSUSE:Tumbleweed | MozillaFirefox | before 50.1.0-1.1 | 50.1.0-1.1 |
| openSUSE:Tumbleweed | MozillaThunderbird | before 45.5.1-1.1 | 45.5.1-1.1 |
| Red Hat:enterprise_linux:2.1::as | libpng | before 2:1.0.14-12 | 2:1.0.14-12 |
| Red Hat:enterprise_linux:2.1::as | libpng-devel | before 2:1.0.14-12 | 2:1.0.14-12 |
| Red Hat:enterprise_linux:2.1::as | seamonkey | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:2.1::as | seamonkey-chat | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:2.1::as | seamonkey-devel | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:2.1::as | seamonkey-dom-inspector | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:2.1::as | seamonkey-js-debugger | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:2.1::as | seamonkey-mail | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:2.1::as | seamonkey-nspr | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:2.1::as | seamonkey-nspr-devel | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:2.1::as | seamonkey-nss | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:2.1::as | seamonkey-nss-devel | before 0:1.0.9-0.30.el2 | 0:1.0.9-0.30.el2 |
| Red Hat:enterprise_linux:3::as | libpng | before 2:1.2.2-29 | 2:1.2.2-29 |
| Red Hat:enterprise_linux:3::as | libpng-debuginfo | before 2:1.2.2-29 | 2:1.2.2-29 |
| Red Hat:enterprise_linux:3::as | libpng-devel | before 2:1.2.2-29 | 2:1.2.2-29 |
| Red Hat:enterprise_linux:3::as | libpng10 | before 0:1.0.13-20 | 0:1.0.13-20 |
| Red Hat:enterprise_linux:3::as | libpng10-debuginfo | before 0:1.0.13-20 | 0:1.0.13-20 |
| Red Hat:enterprise_linux:3::as | libpng10-devel | before 0:1.0.13-20 | 0:1.0.13-20 |
+35
Same product
libpng: all recordsOther highest-scoring records for the same primary product.
- CVE-2010-1205Buffer overflow in pngpread.c in libpng before 1.2.44 and 1.4.x before 1.4.3, as used in progressive applications, might allow remote…52Plan
- CVE-2017-12652libpng before 1.6.32 does not properly check the length of chunks against the user limit.40Plan
- CVE-2015-8540Integer underflow in the png_check_keyword function in pngwutil.c in libpng 0.90 through 0.99, 1.0.x before 1.0.66, 1.1.x and 1.2.x before…37Monitor
Published before and after this one in the same product
- ← EarlierCVE-2008-5907Jan 15, 2009 · The png_check_keyword function in pngwutil.c in libpng before 1.0.42, and 1.2.x before 1.2.34, might allow context-dependent attackers to…21Monitor
- ← EarlierCVE-2008-6218Feb 20, 2009 · Memory leak in the png_handle_tEXt function in pngrutil.c in libpng before 1.2.33 rc02 and 1.4.0 beta36 allows context-dependent attackers…29Monitor
- Later →CVE-2009-2042Jun 12, 2009 · libpng before 1.2.37 does not properly parse 1-bit interlaced images with width values that are not divisible by 8, which causes libpng to…18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:icedove | 2.0.0.22-0lenny1 · Debian:5.0 | Package registry (OSV) |
| debian:libpng | 1.2.15~beta5-1+etch2 · Debian:4.0 | Package registry (OSV) |
| opensuse:libpng16 | 1.6.37-3.3 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:MozillaFirefox | 50.1.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:MozillaThunderbird | 45.5.1-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:firefox | 0:3.0.7-1.el4 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:firefox-debuginfo | 0:3.0.7-1.el4 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:seamonkey | 0:1.0.9-0.30.el2 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:seamonkey-chat | 0:1.0.9-0.30.el2 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:seamonkey-devel | 0:1.0.9-0.30.el2 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:seamonkey-dom-inspector | 0:1.0.9-0.30.el2 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:seamonkey-js-debugger | 0:1.0.9-0.30.el2 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:seamonkey-mail | 0:1.0.9-0.30.el2 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:xulrunner | 0:1.9.0.7-1.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:xulrunner-debuginfo | 0:1.9.0.7-1.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:xulrunner-devel | 0:1.9.0.7-1.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:xulrunner-devel-unstable | 0:1.9.0.7-1.el5 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-824 · Access of Uninitialized PointerCVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- downloads.sourceforge.net/libpng/libpng-1.2.34-ADVISORY.txt
- lists.apple.com/archives/security-announce/2009/Aug/msg00001.html
- lists.apple.com/archives/security-announce/2009/Jun/msg00005.html
- lists.apple.com/archives/security-announce/2009/May/msg00002.html
- lists.apple.com/archives/security-announce/2009/jun/msg00002.html
- lists.opensuse.org/opensuse-security-announce/2009-03/msg00000.html
- lists.opensuse.org/opensuse-security-announce/2009-03/msg00002.html
- lists.opensuse.org/opensuse-security-announce/2009-04/msg00009.html
- lists.vmware.com/pipermail/security-announce/2009/000062.html
- secunia.com/advisories/33970
- secunia.com/advisories/33976
- secunia.com/advisories/34137
- secunia.com/advisories/34140
- secunia.com/advisories/34143
- secunia.com/advisories/34145
- secunia.com/advisories/34152
- secunia.com/advisories/34210
- secunia.com/advisories/34265
- secunia.com/advisories/34272
Vendor advisories and official records. Exploit/PoC links are deliberately left out.