CVE-2009-2042
CVE-2009-2042 is a medium-severity vulnerability in Libpng with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-200.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.3)
- EPSS exploit prediction: 2% (81st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-200
- Affected product: Libpng
- Published:
- Last modified:
Description
libpng before 1.2.37 does not properly parse 1-bit interlaced images with width values that are not divisible by 8, which causes libpng to include uninitialized bits in certain rows of a PNG file and might allow remote attackers to read portions of sensitive memory via "out-of-bounds pixels" in the file.
Frequently asked questions
- What is CVE-2009-2042?
- libpng before 1.2.37 does not properly parse 1-bit interlaced images with width values that are not divisible by 8, which causes libpng to include uninitialized bits in certain rows of a PNG file and might allow remote attackers to read portions of sensitive memory via "out-of-bounds pixels" in the file.
- How severe is CVE-2009-2042?
- CVE-2009-2042 has a CVSS 2.0 base score of 4.3, rated medium severity.
- Is CVE-2009-2042 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (81st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2009-2042?
- CVE-2009-2042 primarily affects Libpng. In total, 249 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2009-2042?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2009-2042 published?
- CVE-2009-2042 was published on 2009-06-12 and last updated on 2026-06-16.
References
- http://archives.neohapsis.com/archives/bugtraq/2010-04/0077.html
- http://archives.neohapsis.com/archives/fulldisclosure/2010-04/0121.html
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://lists.vmware.com/pipermail/security-announce/2010/000090.html
- http://secunia.com/advisories/35346
- http://secunia.com/advisories/35470
- http://secunia.com/advisories/35524
- http://secunia.com/advisories/35594
- http://secunia.com/advisories/39206
- http://secunia.com/advisories/39215
- http://secunia.com/advisories/39251
- http://security.gentoo.org/glsa/glsa-200906-01.xml
- http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.551809
- http://support.apple.com/kb/HT4077
- http://ubuntu.com/usn/usn-913-1
- http://www.debian.org/security/2010/dsa-2032
- http://www.libpng.org/pub/png/libpng.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:063
- http://www.securityfocus.com/bid/35233
- http://www.vmware.com/security/advisories/VMSA-2010-0007.html
- http://www.vupen.com/english/advisories/2009/1510
- http://www.vupen.com/english/advisories/2010/0637
- http://www.vupen.com/english/advisories/2010/0682
- http://www.vupen.com/english/advisories/2010/0847
- https://exchange.xforce.ibmcloud.com/vulnerabilities/50966
- https://www.redhat.com/archives/fedora-package-announce/2009-June/msg00218.html
- https://www.redhat.com/archives/fedora-package-announce/2009-June/msg00630.html
Affected products (249)
- cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:0.89c:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:0.95:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.7:beta17:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.7:beta18:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.7:rc1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.7:rc2:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.8:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.8:beta1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.8:beta2:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.8:beta3:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.8:beta4:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.8:rc1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta10:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta2:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta3:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta4:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta5:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta6:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta7:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta8:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:beta9:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:rc1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.9:rc2:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.10:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.10:beta1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.10:rc1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.11:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.11:beta1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.11:beta2:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.11:beta3:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.11:rc1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.12:*:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.12:beta1:*:*:*:*:*:*
- cpe:2.3:a:libpng:libpng:1.0.12:rc1:*:*:*:*:*:*
More vulnerabilities in Libpng
- CVE-2017-12652 — Critical (CVSS 9.8): libpng before 1.6.32 does not properly check the length of chunks against the user limit.
- CVE-2010-1205 — Critical (CVSS 9.8): Buffer overflow in pngpread.c in libpng before 1.2.44 and 1.4.x before 1.4.3, as used in progressive applications,…
- CVE-2018-14550 — High (CVSS 8.8): An issue has been found in third-party PNM decoding associated with libpng 1.6.35. It is a stack-based buffer overflow…
- CVE-2015-8540 — High (CVSS 8.8): Integer underflow in the png_check_keyword function in pngwutil.c in libpng 0.90 through 0.99, 1.0.x before 1.0.66,…
- CVE-2015-0973 — High (CVSS 8.8): Buffer overflow in the png_read_IDAT_data function in pngrutil.c in libpng before 1.5.21 and 1.6.x before 1.6.16 allows…
- CVE-2014-9495 — High (CVSS 8.8): Heap-based buffer overflow in the png_combine_row function in libpng before 1.5.21 and 1.6.x before 1.6.16, when…
Other CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities
- CVE-2026-27604 — Critical (CVSS 10.0): FOSSBilling is a free, open-source billing and client management system. Starting in version 0.5.4 and prior to version…
- CVE-2026-40965 — Critical (CVSS 10.0): Cloud Foundry UAA versions v76.12.0 through v78.12.0 are vulnerable to a private key exposure. The server contains a…
- CVE-2026-42826 — Critical (CVSS 10.0): Exposure of sensitive information to an unauthorized actor in Azure DevOps allows an unauthorized attacker to disclose…
- CVE-2025-29270 — Critical (CVSS 10.0): Incorrect access control in the realtime.cgi endpoint of Deep Sea Electronics devices DSE855 v1.1.0 to v1.1.26 allows…
- CVE-2025-61481 — Critical (CVSS 10.0): An issue in MikroTik RouterOS v.7.14.2 and SwOS v.2.18 exposes the WebFig management interface over cleartext HTTP by…
- CVE-2025-53624 — Critical (CVSS 10.0): The Docusaurus gists plugin adds a page to your Docusaurus instance, displaying all public gists of a GitHub user.…
Browse all CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities →