The PNG reference library (aka libpng) before 1.0.43, and 1.2.x before 1.2.35, as used in…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-824 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 14
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:* | before 1.0.43; 1.2.0 to before 1.2.35 | Vulnerable | pnggroup |
| cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* | before 3.0 | Vulnerable | Apple |
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | before 10.5.8 | Vulnerable | Apple |
| cpe:2.3:o:opensuse:opensuse:10.3:*:*:*:*:*:*:* | 10.3 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:11.1:*:*:*:*:*:*:* | 11.1 | Vulnerable | openSUSE |
| cpe:2.3:o:suse:linux_enterprise:9.0:-:*:*:*:*:*:* | 9.0 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise:10.0:-:*:*:*:*:*:* | 10.0 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_desktop:10:sp2:*:*:*:*:*:* | 10 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:10:sp2:*:*:*:*:*:* | 10 sp2 | Vulnerable | SUSE |
- cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:* Versions before 1.0.43; 1.2.0 to before 1.2.35 Vulnerable ·pnggroup
- cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* Versions before 3.0 Vulnerable ·Apple
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions before 10.5.8 Vulnerable ·Apple
- cpe:2.3:o:opensuse:opensuse:10.3:*:*:*:*:*:*:* Versions 10.3 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:11.1:*:*:*:*:*:*:* Versions 11.1 Vulnerable ·openSUSE
- cpe:2.3:o:suse:linux_enterprise:9.0:-:*:*:*:*:*:* Versions 9.0 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise:10.0:-:*:*:*:*:*:* Versions 10.0 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_desktop:10:sp2:*:*:*:*:*:* Versions 10 sp2 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:10:sp2:*:*:*:*:*:* Versions 10 sp2 Vulnerable ·SUSE
Show 4 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:* | 9 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:10:*:*:*:*:*:*:* | 10 | Vulnerable | Fedoraproject |
- cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:* Versions 9 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:10:*:*:*:*:*:*:* Versions 10 Vulnerable ·Fedoraproject
Remediation
Red Hat 4 advisories
- RHSA-2009:0325 Released 2009-03-05 · Red Hat rating Criticalseamonkey security update
- Red Hat Desktop version 3 seamonkey-1.0.9-0.34.el3, seamonkey-1.0.9-0.34.el3.i386, seamonkey-chat-1.0.9-0.34.el3 +17
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 seamonkey-1.0.9-0.30.el2, seamonkey-1.0.9-0.30.el2.i386, seamonkey-1.0.9-0.30.el2.ia64 +18
- Red Hat Enterprise Linux AS version 3 seamonkey-1.0.9-0.34.el3, seamonkey-1.0.9-0.34.el3.i386, seamonkey-1.0.9-0.34.el3.ia64 +37
- Red Hat Enterprise Linux AS version 4 seamonkey-1.0.9-38.el4, seamonkey-1.0.9-38.el4.i386, seamonkey-1.0.9-38.el4.ia64 +21
- Red Hat Enterprise Linux Desktop version 4 seamonkey-1.0.9-38.el4, seamonkey-1.0.9-38.el4.i386, seamonkey-chat-1.0.9-38.el4 +9
- Red Hat Enterprise Linux ES version 2.1 seamonkey-1.0.9-0.30.el2, seamonkey-1.0.9-0.30.el2.i386, seamonkey-chat-1.0.9-0.30.el2.i386 +8
- Red Hat Enterprise Linux ES version 3 seamonkey-1.0.9-0.34.el3, seamonkey-1.0.9-0.34.el3.i386, seamonkey-1.0.9-0.34.el3.ia64 +27
- Red Hat Enterprise Linux ES version 4 seamonkey-1.0.9-38.el4, seamonkey-1.0.9-38.el4.i386, seamonkey-1.0.9-38.el4.ia64 +15
- Red Hat Enterprise Linux WS version 2.1 seamonkey-1.0.9-0.30.el2, seamonkey-1.0.9-0.30.el2.i386, seamonkey-chat-1.0.9-0.30.el2.i386 +8
- Red Hat Enterprise Linux WS version 3 seamonkey-1.0.9-0.34.el3, seamonkey-1.0.9-0.34.el3.i386, seamonkey-1.0.9-0.34.el3.ia64 +27
- Red Hat Enterprise Linux WS version 4 seamonkey-1.0.9-38.el4, seamonkey-1.0.9-38.el4.i386, seamonkey-1.0.9-38.el4.ia64 +15
- Red Hat Linux Advanced Workstation 2.1 seamonkey-1.0.9-0.30.el2, seamonkey-1.0.9-0.30.el2.ia64, seamonkey-chat-1.0.9-0.30.el2.ia64 +8
- RHSA-2009:0315 Released 2009-03-05 · Red Hat rating Criticalfirefox security update
- Red Hat Enterprise Linux (v. 5 server) firefox-3.0.7-1.el5, firefox-3.0.7-1.el5.i386, firefox-3.0.7-1.el5.ia64 +13
- Red Hat Enterprise Linux AS version 4 firefox-3.0.7-1.el4, firefox-3.0.7-1.el4.i386, firefox-3.0.7-1.el4.ia64 +1
- Red Hat Enterprise Linux Desktop (v. 5 client) firefox-3.0.7-1.el5, firefox-3.0.7-1.el5.i386, xulrunner-1.9.0.7-1.el5 +1
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) xulrunner-1.9.0.7-1.el5, xulrunner-devel-1.9.0.7-1.el5, xulrunner-devel-1.9.0.7-1.el5.i386 +2
- Red Hat Enterprise Linux Desktop version 4 firefox-3.0.7-1.el4, firefox-3.0.7-1.el4.i386
- Red Hat Enterprise Linux ES version 4 firefox-3.0.7-1.el4, firefox-3.0.7-1.el4.i386, firefox-3.0.7-1.el4.ia64
- Red Hat Enterprise Linux WS version 4 firefox-3.0.7-1.el4, firefox-3.0.7-1.el4.i386, firefox-3.0.7-1.el4.ia64
- RHSA-2009:0340 Released 2009-03-04 · Red Hat rating Moderatelibpng security update
- Red Hat Desktop version 3 libpng-2:1.2.2-29, libpng-2:1.2.2-29.i386, libpng-devel-2:1.2.2-29 +5
- Red Hat Enterprise Linux AS version 3 libpng-2:1.2.2-29, libpng-2:1.2.2-29.i386, libpng-2:1.2.2-29.ia64 +13
- Red Hat Enterprise Linux ES version 3 libpng-2:1.2.2-29, libpng-2:1.2.2-29.i386, libpng-2:1.2.2-29.ia64 +9
- Red Hat Enterprise Linux WS version 3 libpng-2:1.2.2-29, libpng-2:1.2.2-29.i386, libpng-2:1.2.2-29.ia64 +9
Show 1 more Red Hat advisories
- RHSA-2009:0333 Released 2009-03-04 · Red Hat rating Moderatelibpng security update
- Red Hat Enterprise Linux (v. 5 server) libpng-2:1.2.10-7.1.el5_3.2, libpng-2:1.2.10-7.1.el5_3.2.i386, libpng-2:1.2.10-7.1.el5_3.2.ia64 +5
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 libpng-2:1.0.14-12, libpng-2:1.0.14-12.i386, libpng-2:1.0.14-12.ia64 +2
- Red Hat Enterprise Linux AS version 4 libpng-2:1.2.7-3.el4_7.2, libpng-2:1.2.7-3.el4_7.2.i386, libpng-2:1.2.7-3.el4_7.2.ia64 +13
- Red Hat Enterprise Linux Desktop (v. 5 client) libpng-2:1.2.10-7.1.el5_3.2, libpng-2:1.2.10-7.1.el5_3.2.i386
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) libpng-2:1.2.10-7.1.el5_3.2, libpng-devel-2:1.2.10-7.1.el5_3.2, libpng-devel-2:1.2.10-7.1.el5_3.2.i386
- Red Hat Enterprise Linux Desktop version 4 libpng-2:1.2.7-3.el4_7.2, libpng-2:1.2.7-3.el4_7.2.i386, libpng-devel-2:1.2.7-3.el4_7.2 +5
- Red Hat Enterprise Linux ES version 2.1 libpng-2:1.0.14-12, libpng-2:1.0.14-12.i386, libpng-devel-2:1.0.14-12.i386
- Red Hat Enterprise Linux ES version 4 libpng-2:1.2.7-3.el4_7.2, libpng-2:1.2.7-3.el4_7.2.i386, libpng-2:1.2.7-3.el4_7.2.ia64 +9
- Red Hat Enterprise Linux WS version 2.1 libpng-2:1.0.14-12, libpng-2:1.0.14-12.i386, libpng-devel-2:1.0.14-12.i386
- Red Hat Enterprise Linux WS version 4 libpng-2:1.2.7-3.el4_7.2, libpng-2:1.2.7-3.el4_7.2.i386, libpng-2:1.2.7-3.el4_7.2.ia64 +9
- Red Hat Linux Advanced Workstation 2.1 libpng-2:1.0.14-12, libpng-2:1.0.14-12.ia64, libpng-devel-2:1.0.14-12.ia64
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2009:0325, RHSA-2009:0340 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2009:0315, RHSA-2009:0333 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2009:0325, RHSA-2009:0333 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2009:0325, RHSA-2009:0340 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2009:0315, RHSA-2009:0325, RHSA-2009:0333 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2009:0315, RHSA-2009:0333 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2009:0315, RHSA-2009:0333 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2009:0315, RHSA-2009:0325, RHSA-2009:0333 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2009:0325, RHSA-2009:0333 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2009:0325, RHSA-2009:0340 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2009:0315, RHSA-2009:0325, RHSA-2009:0333 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2009:0325, RHSA-2009:0333 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2009:0325, RHSA-2009:0340 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2009:0315, RHSA-2009:0325, RHSA-2009:0333 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2009:0325, RHSA-2009:0333 |
Timeline
- 2026-10-02 Threatist record created from CVE-2009-0040
- 2026-10-03 Alias added: GHSA-m968-rq7m-646j
References
Advisory 34
- RHSA-2009:0315
- SUSE-SA:2009:023
- http://support.apple.com/kb/HT3757
- SUSE-SA:2009:012
- GLSA-200903-28
- RHSA-2009:0333
- http://support.apple.com/kb/HT3639
- GLSA-201209-25
- DSA-1830
- RHSA-2009:0340
- 1020521
- http://support.apple.com/kb/HT3549
- SSA:2009-083-02
- APPLE-SA-2009-06-08-1
- http://www.vmware.com/security/advisories/VMSA-2009-0007.html
- RHSA-2009:0325
- 259989
- APPLE-SA-2009-06-17-1
- FEDORA-2009-2045
- APPLE-SA-2009-05-12
- SUSE-SR:2009:005
- MDVSA-2009:083
- APPLE-SA-2009-08-05-1
- FEDORA-2009-2882
- DSA-1750
- FEDORA-2009-2884
- SSA:2009-083-03
- TA09-133A
- FEDORA-2009-1976
- VU#649212
- MDVSA-2009:075
- http://support.apple.com/kb/HT3613
- TA09-218A
- MDVSA-2009:051
Other 20
- ADV-2009-0632
- ADV-2009-1621
- ADV-2009-1560
- oval:org.mitre.oval:def:10316
- ADV-2009-0469
- ADV-2009-1462
- [png-mng-implement] 20090219 libpng-1.2.35 and libpng-1.0.43 fix security vulnerability
- ADV-2009-1522
- ADV-2009-1451
- oval:org.mitre.oval:def:6458
- http://wiki.rpath.com/Advisories:rPSA-2009-0046
- ADV-2009-0473
- [security-announce] 20090820 VMSA-2009-0010 VMware Hosted products update libpng and Apache HTTP Server
- http://sourceforge.net/project/shownotes.php?group_id=1689&release_id=662441
- http://support.avaya.com/elmodocs2/security/ASA-2009-069.htm
- ADV-2009-1297
- http://downloads.sourceforge.net/libpng/libpng-1.2.34-ADVISORY.txt
- http://support.avaya.com/elmodocs2/security/ASA-2009-208.htm
- ADV-2009-2172
- http://support.avaya.com/japple/css/japple?temp.documentID=366362&temp.productID=154235&temp.releaseID=361845&temp.bucketID=126655&PAGE=Document
Sources
- CVE-2009-0040 · CVE Program
- CVE-2009-0040 · NVD
- FIRST EPSS
- GHSA-m968-rq7m-646j · GitHub Advisory Database · CC BY 4.0
- CVE-2009-0040 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences