CVE-2009-0040
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 4.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.8% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.8% · EPSS, next 30 days
- Weakness
- CWE-824
- Record status
- Modified
Affected
- Libpng < 1.0.43
- Libpng < 1.2.35
- Apple Iphone Os < 3.0
- Apple Mac Os X < 10.5.8
- Opensuse 10.3
- Opensuse 11.0
- Opensuse 11.1
- Suse Linux Enterprise 9.0
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2009-0040.md and follow it. Check whether this project is affected by CVE-2009-0040. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- ftp://ftp.simplesystems.org/pub/png/src/libpng-1.2.34-ADVISORY.txt
- http://secunia.com/advisories/33970
- http://secunia.com/advisories/33976
- ftp://ftp.simplesystems.org/pub/png/src/libpng-1.2.34-ADVISORY.txt
- http://secunia.com/advisories/33970
- http://secunia.com/advisories/33976
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
- 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://lists.vmware.com/pipermail/security-announce/2009/000062.html
- http://secunia.com/advisories/33970
- http://secunia.com/advisories/33976
- http://secunia.com/advisories/34137
- http://secunia.com/advisories/34140
- http://secunia.com/advisories/34143
- http://secunia.com/advisories/34145
- http://secunia.com/advisories/34152
- http://secunia.com/advisories/34210
- http://secunia.com/advisories/34265
- http://secunia.com/advisories/34272
- http://secunia.com/advisories/34320
- http://secunia.com/advisories/34324
- http://secunia.com/advisories/34388
- http://secunia.com/advisories/34462
- http://secunia.com/advisories/34464