CVE-2009-0040Libpng
Medium 6.8 No auth needed
Follow: this CVE · Libpng · Libpng We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 2.0
- 6.8
- EPSS
- 4.8% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Feb 22, 2009
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-824
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Libpng.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libpng | libpng | < 1.0.43 |
| libpng | libpng | ≥ 1.2.0 < 1.2.35 |
| apple | iphone_os | < 3.0 |
| apple | mac_os_x | < 10.5.8 |
| opensuse | opensuse | 10.3 |
| opensuse | opensuse | 11.0 |
| opensuse | opensuse | 11.1 |
| suse | linux_enterprise | 9.0 |
| suse | linux_enterprise | 10.0 |
| suse | linux_enterprise_desktop | 10 |
| suse | linux_enterprise_server | 10 |
| debian | debian_linux | 4.0 |
| debian | debian_linux | 5.0 |
| fedoraproject | fedora | 9 |
| fedoraproject | fedora | 10 |
Official sources
References
Links published by the sources. Open them with care.
- downloads.sourceforge.net Product
- lists.apple.com Mailing List
- lists.apple.com Mailing List
- lists.apple.com Mailing List
- lists.apple.com Broken Link Mailing List
- lists.opensuse.org Mailing List
- lists.opensuse.org Mailing List
- lists.opensuse.org Mailing List
- lists.vmware.com Broken Link
- secunia.com Broken Link Vendor Advisory
- secunia.com Broken Link Vendor Advisory
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- security.gentoo.org Third Party Advisory
- security.gentoo.org Third Party Advisory
- slackware.com Mailing List
- slackware.com Mailing List
- sourceforge.net Broken Link
- sourceforge.net Broken Link
- sunsolve.sun.com Broken Link
- sunsolve.sun.com Broken Link
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory