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…
Check your servers for CVE-2009-0040
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-0040 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 4.83%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 92.7% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2009-0040 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-0040RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-0040Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2009-0040
trivy image --scanners vuln IMAGE | grep CVE-2009-0040
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
81 of 82 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- RHSA-2009:0315 redhat.com · vendor advisory
- SUSE-SA:2009:023 lists.opensuse.org · vendor advisory
- http://support.apple.com/kb/HT3757 support.apple.com
- SUSE-SA:2009:012 lists.opensuse.org · vendor advisory
- GLSA-200903-28 security.gentoo.org · vendor advisory
- RHSA-2009:0333 redhat.com · vendor advisory
- http://support.apple.com/kb/HT3639 support.apple.com
- 35386 secunia.com · third party advisory
- GLSA-201209-25 security.gentoo.org · vendor advisory
- DSA-1830 debian.org · vendor advisory
- RHSA-2009:0340 redhat.com · vendor advisory
- 1020521 sunsolve.sun.com · vendor advisory
49 more
- http://support.apple.com/kb/HT3549 support.apple.com
- 34388 secunia.com · third party advisory
- SSA:2009-083-02 slackware.com · vendor advisory
- APPLE-SA-2009-06-08-1 lists.apple.com · vendor advisory
- 36096 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2009-0007.html vmware.com
- RHSA-2009:0325 redhat.com · vendor advisory
- 259989 sunsolve.sun.com · vendor advisory
- 35302 secunia.com · third party advisory
- 33976 secunia.com · third party advisory
- 35074 secunia.com · third party advisory
- 34140 secunia.com · third party advisory
- APPLE-SA-2009-06-17-1 lists.apple.com · vendor advisory
- FEDORA-2009-2045 redhat.com · vendor advisory
- APPLE-SA-2009-05-12 lists.apple.com · vendor advisory
- SUSE-SR:2009:005 lists.opensuse.org · vendor advisory
- MDVSA-2009:083 mandriva.com · vendor advisory
- 34464 secunia.com · third party advisory
- 34272 secunia.com · third party advisory
- 34210 secunia.com · third party advisory
- APPLE-SA-2009-08-05-1 lists.apple.com · vendor advisory
- 34265 secunia.com · third party advisory
- http://wiki.rpath.com/Advisories:rPSA-2009-0046 wiki.rpath.com
- 34145 secunia.com · third party advisory
- 35379 secunia.com · third party advisory
- 34143 secunia.com · third party advisory
- FEDORA-2009-2882 redhat.com · vendor advisory
- DSA-1750 debian.org · vendor advisory
- FEDORA-2009-2884 redhat.com · vendor advisory
- SSA:2009-083-03 slackware.com · vendor advisory
- 33970 secunia.com · third party advisory
- 34137 secunia.com · third party advisory
- TA09-133A us-cert.gov · third party advisory
- http://sourceforge.net/project/shownotes.php?group_id=1689&release_id=662441 sourceforge.net
- 34462 secunia.com · third party advisory
- http://support.avaya.com/elmodocs2/security/ASA-2009-069.htm support.avaya.com
- FEDORA-2009-1976 redhat.com · vendor advisory
- http://downloads.sourceforge.net/libpng/libpng-1.2.34-ADVISORY.txt downloads.sourceforge.net
- VU#649212 kb.cert.org · third party advisory
- 34324 secunia.com · third party advisory
- 34152 secunia.com · third party advisory
- MDVSA-2009:075 mandriva.com · vendor advisory
- http://support.apple.com/kb/HT3613 support.apple.com
- 35258 secunia.com · third party advisory
- http://support.avaya.com/elmodocs2/security/ASA-2009-208.htm support.avaya.com
- TA09-218A us-cert.gov · third party advisory
- MDVSA-2009:051 mandriva.com · vendor advisory
- 34320 secunia.com · third party advisory
- http://support.avaya.com/japple/css/japple?temp.documentID=366362&temp.productID=154235&temp.releaseID=361845&temp.bucketID=126655&PAGE=Document support.avaya.com
Other references
- ADV-2009-0632 vupen.com · vdb entry
- ADV-2009-1621 vupen.com · vdb entry
- ADV-2009-1560 vupen.com · vdb entry
- oval:org.mitre.oval:def:10316 oval.cisecurity.org · vdb entry, signature
- ADV-2009-0469 vupen.com · vdb entry
- ADV-2009-1462 vupen.com · vdb entry
- [png-mng-implement] 20090219 libpng-1.2.35 and libpng-1.0.43 fix security vulnerability sourceforge.net · mailing list
- libpng-pointer-arrays-code-execution(48819) exchange.xforce.ibmcloud.com · vdb entry
- ADV-2009-1522 vupen.com · vdb entry
- ADV-2009-1451 vupen.com · vdb entry
- oval:org.mitre.oval:def:6458 oval.cisecurity.org · vdb entry, signature
- 20090529 VMSA-2009-0007 VMware Hosted products and ESX and ESXi patches resolve security issues securityfocus.com · mailing list
8 more
- ADV-2009-0473 vupen.com · vdb entry
- 20090821 VMSA-2009-0010 VMware Hosted products update libpng and Apache HTTP Server securityfocus.com · mailing list
- [security-announce] 20090820 VMSA-2009-0010 VMware Hosted products update libpng and Apache HTTP Server lists.vmware.com · mailing list
- ADV-2009-1297 vupen.com · vdb entry
- 20090312 rPSA-2009-0046-1 libpng securityfocus.com · mailing list
- 33990 securityfocus.com · vdb entry
- 33827 securityfocus.com · vdb entry
- ADV-2009-2172 vupen.com · vdb entry
Source: the record CVE-2009-0040 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse