CVE-2009-0040

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.

Category

6.8
CVSS
Severity: Medium
CVSS 2.0 •
EPSS 3.94% Top 15%
Vendor Advisory redhat.com Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory gentoo.org Vendor Advisory redhat.com Vendor Advisory gentoo.org Vendor Advisory debian.org Vendor Advisory redhat.com Vendor Advisory sun.com Vendor Advisory slackware.com Vendor Advisory apple.com Vendor Advisory redhat.com Vendor Advisory sun.com Vendor Advisory apple.com Vendor Advisory redhat.com Vendor Advisory apple.com Vendor Advisory opensuse.org Vendor Advisory mandriva.com Vendor Advisory apple.com Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory redhat.com Vendor Advisory slackware.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory mandriva.com Vendor Advisory simplesystems.org Vendor Advisory secunia.com Vendor Advisory secunia.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://www.redhat.com/support/errata/RHSA-2009-0315.html vendor advisory broken link
http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00009.html mailing list vendor advisory
http://support.apple.com/kb/HT3757 third party advisory
http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00002.html mailing list vendor advisory
http://security.gentoo.org/glsa/glsa-200903-28.xml third party advisory vendor advisory
http://www.redhat.com/support/errata/RHSA-2009-0333.html vendor advisory broken link
http://support.apple.com/kb/HT3639 third party advisory
http://secunia.com/advisories/35386 third party advisory broken link
http://security.gentoo.org/glsa/glsa-201209-25.xml third party advisory vendor advisory
http://www.debian.org/security/2009/dsa-1830 mailing list vendor advisory
http://www.vupen.com/english/advisories/2009/0632 vdb entry broken link
http://www.vupen.com/english/advisories/2009/1621 vdb entry broken link
http://www.redhat.com/support/errata/RHSA-2009-0340.html vendor advisory broken link
http://sunsolve.sun.com/search/document.do?assetkey=1-77-1020521.1-1 vendor advisory broken link
http://support.apple.com/kb/HT3549 third party advisory
http://www.vupen.com/english/advisories/2009/1560 vdb entry broken link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10316 vdb entry signature broken link
http://www.vupen.com/english/advisories/2009/0469 vdb entry broken link
http://secunia.com/advisories/34388 third party advisory broken link
http://www.vupen.com/english/advisories/2009/1462 vdb entry broken link
http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.405420 mailing list vendor advisory
http://lists.apple.com/archives/security-announce/2009/jun/msg00002.html mailing list broken link vendor advisory
http://secunia.com/advisories/36096 third party advisory broken link
http://sourceforge.net/mailarchive/message.php?msg_name=e56ccc8f0902181726i200f4bf0n20d919473ec409b7%40mail.gmail.com mailing list broken link
http://www.vmware.com/security/advisories/VMSA-2009-0007.html third party advisory
http://www.redhat.com/support/errata/RHSA-2009-0325.html vendor advisory broken link
http://sunsolve.sun.com/search/document.do?assetkey=1-66-259989-1 vendor advisory broken link
http://secunia.com/advisories/35302 third party advisory broken link
http://secunia.com/advisories/33976 broken link third party advisory vendor advisory
http://secunia.com/advisories/35074 third party advisory broken link
https://exchange.xforce.ibmcloud.com/vulnerabilities/48819 vdb entry third party advisory
http://www.vupen.com/english/advisories/2009/1522 vdb entry broken link
http://secunia.com/advisories/34140 third party advisory broken link
http://www.vupen.com/english/advisories/2009/1451 vdb entry broken link
http://lists.apple.com/archives/security-announce/2009/Jun/msg00005.html mailing list vendor advisory
https://www.redhat.com/archives/fedora-package-announce/2009-March/msg00272.html mailing list vendor advisory
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html mailing list vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00000.html mailing list vendor advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2009:083 vendor advisory broken link
http://secunia.com/advisories/34464 third party advisory broken link
http://secunia.com/advisories/34272 third party advisory broken link
http://secunia.com/advisories/34210 third party advisory broken link
ftp://ftp.simplesystems.org/pub/png/src/libpng-1.2.34-ADVISORY.txt broken link vendor advisory
http://lists.apple.com/archives/security-announce/2009/Aug/msg00001.html mailing list vendor advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6458 vdb entry signature broken link
http://secunia.com/advisories/34265 third party advisory broken link
http://wiki.rpath.com/Advisories:rPSA-2009-0046 broken link
http://secunia.com/advisories/34145 third party advisory broken link
http://www.securityfocus.com/archive/1/503912/100/0/threaded mailing list vdb entry third party advisory broken link
http://secunia.com/advisories/35379 third party advisory broken link
http://www.vupen.com/english/advisories/2009/0473 vdb entry broken link
http://www.securityfocus.com/archive/1/505990/100/0/threaded mailing list vdb entry third party advisory broken link
http://secunia.com/advisories/34143 third party advisory broken link
https://www.redhat.com/archives/fedora-package-announce/2009-March/msg00769.html mailing list vendor advisory
http://www.debian.org/security/2009/dsa-1750 mailing list vendor advisory
https://www.redhat.com/archives/fedora-package-announce/2009-March/msg00771.html mailing list vendor advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.433952 mailing list vendor advisory
http://secunia.com/advisories/33970 broken link third party advisory vendor advisory
http://secunia.com/advisories/34137 third party advisory broken link
http://www.us-cert.gov/cas/techalerts/TA09-133A.html third party advisory us government resource
http://lists.vmware.com/pipermail/security-announce/2009/000062.html mailing list broken link
http://sourceforge.net/project/shownotes.php?group_id=1689&release_id=662441 broken link
http://secunia.com/advisories/34462 third party advisory broken link
http://support.avaya.com/elmodocs2/security/ASA-2009-069.htm broken link
http://www.vupen.com/english/advisories/2009/1297 vdb entry broken link
https://www.redhat.com/archives/fedora-package-announce/2009-March/msg00412.html mailing list vendor advisory
http://downloads.sourceforge.net/libpng/libpng-1.2.34-ADVISORY.txt product
http://www.kb.cert.org/vuls/id/649212 us government resource third party advisory broken link
http://secunia.com/advisories/34324 third party advisory broken link
http://www.securityfocus.com/archive/1/501767/100/0/threaded mailing list vdb entry third party advisory broken link
http://secunia.com/advisories/34152 third party advisory broken link
http://www.mandriva.com/security/advisories?name=MDVSA-2009:075 vendor advisory broken link
http://www.securityfocus.com/bid/33990 vdb entry third party advisory broken link
http://support.apple.com/kb/HT3613 third party advisory
http://secunia.com/advisories/35258 third party advisory broken link
http://www.securityfocus.com/bid/33827 vdb entry third party advisory broken link
http://support.avaya.com/elmodocs2/security/ASA-2009-208.htm broken link
http://www.vupen.com/english/advisories/2009/2172 vdb entry broken link
http://www.us-cert.gov/cas/techalerts/TA09-218A.html third party advisory us government resource
http://www.mandriva.com/security/advisories?name=MDVSA-2009:051 vendor advisory broken link
http://secunia.com/advisories/34320 third party advisory broken link
http://support.avaya.com/japple/css/japple?temp.documentID=366362&temp.productID=154235&temp.releaseID=361845&temp.bucketID=126655&PAGE=Document broken link

Frequently Asked Questions

What is the severity of CVE-2009-0040?
CVE-2009-0040 has been scored as a medium severity vulnerability.
How to fix CVE-2009-0040?
To fix CVE-2009-0040, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2009-0040 being actively exploited in the wild?
It is possible that CVE-2009-0040 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~4% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.