CVE-2009-2042
libpng before 1.2.37 does not properly parse 1-bit interlaced images with width values that are...
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2009-2042- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-2042- Updated
- 2026-11-02
EUVDEUVD-2009-2038 No score
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.
- Record
EUVD-2009-2038- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rh45-m734-j52q No score
libpng before 1.2.37 does not properly parse 1-bit interlaced images with width values that are...
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.
- Record
GHSA-rh45-m734-j52q- Weakness
- CWE-200
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libpngDebian:5.0 |
before 1.2.27-2+lenny3, plus listed versions 1.2.27-21.2.27-2+lenny2 |
1.2.27-2+lenny3 |
libpngRed Hat:enterprise_linux:3::as |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng-debuginfoRed Hat:enterprise_linux:3::as |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng-develRed Hat:enterprise_linux:3::as |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng10Red Hat:enterprise_linux:3::as |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpng10-debuginfoRed Hat:enterprise_linux:3::as |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpng10-develRed Hat:enterprise_linux:3::as |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpngRed Hat:enterprise_linux:3::desktop |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng-debuginfoRed Hat:enterprise_linux:3::desktop |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng-develRed Hat:enterprise_linux:3::desktop |
before 2:1.2.2-30 | 2:1.2.2-30 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libpng10Red Hat:enterprise_linux:3::desktop |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpng10-debuginfoRed Hat:enterprise_linux:3::desktop |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpng10-develRed Hat:enterprise_linux:3::desktop |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpngRed Hat:enterprise_linux:3::es |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng-debuginfoRed Hat:enterprise_linux:3::es |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng-develRed Hat:enterprise_linux:3::es |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng10Red Hat:enterprise_linux:3::es |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpng10-debuginfoRed Hat:enterprise_linux:3::es |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpng10-develRed Hat:enterprise_linux:3::es |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpngRed Hat:enterprise_linux:3::ws |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng-debuginfoRed Hat:enterprise_linux:3::ws |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng-develRed Hat:enterprise_linux:3::ws |
before 2:1.2.2-30 | 2:1.2.2-30 |
libpng10Red Hat:enterprise_linux:3::ws |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpng10-debuginfoRed Hat:enterprise_linux:3::ws |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpng10-develRed Hat:enterprise_linux:3::ws |
before 0:1.0.13-21 | 0:1.0.13-21 |
libpngRed Hat:enterprise_linux:4::as |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng-debuginfoRed Hat:enterprise_linux:4::as |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng-develRed Hat:enterprise_linux:4::as |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng10Red Hat:enterprise_linux:4::as |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpng10-debuginfoRed Hat:enterprise_linux:4::as |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpng10-develRed Hat:enterprise_linux:4::as |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpngRed Hat:enterprise_linux:4::desktop |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng-debuginfoRed Hat:enterprise_linux:4::desktop |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng-develRed Hat:enterprise_linux:4::desktop |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng10Red Hat:enterprise_linux:4::desktop |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpng10-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpng10-develRed Hat:enterprise_linux:4::desktop |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpngRed Hat:enterprise_linux:4::es |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng-debuginfoRed Hat:enterprise_linux:4::es |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng-develRed Hat:enterprise_linux:4::es |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng10Red Hat:enterprise_linux:4::es |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpng10-debuginfoRed Hat:enterprise_linux:4::es |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpng10-develRed Hat:enterprise_linux:4::es |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpngRed Hat:enterprise_linux:4::ws |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng-debuginfoRed Hat:enterprise_linux:4::ws |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng-develRed Hat:enterprise_linux:4::ws |
before 2:1.2.7-3.el4_8.3 | 2:1.2.7-3.el4_8.3 |
libpng10Red Hat:enterprise_linux:4::ws |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpng10-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpng10-develRed Hat:enterprise_linux:4::ws |
before 0:1.0.16-3.el4_8.4 | 0:1.0.16-3.el4_8.4 |
libpngRed Hat:enterprise_linux:5::client_workstation |
before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
libpng-debuginfoRed Hat:enterprise_linux:5::client_workstation |
before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
libpng-develRed Hat:enterprise_linux:5::client_workstation |
before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
libpngRed Hat:enterprise_linux:5::client |
before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
libpng-debuginfoRed Hat:enterprise_linux:5::client |
before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
libpng-develRed Hat:enterprise_linux:5::client |
before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
libpngRed Hat:enterprise_linux:5::server |
before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
libpng-debuginfoRed Hat:enterprise_linux:5::server |
before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
libpng-develRed Hat:enterprise_linux:5::server |
before 2:1.2.10-7.1.el5_5.3 | 2:1.2.10-7.1.el5_5.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-2042 is a medium vulnerability (CVSS 4.3) in Libpng, published June 12, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.28%, the 83rd percentile. Fixed in libpng 1.2.27-2+lenny3.
References
slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.551809
vupen.com/english/advisories/2010/0682
secunia.com/advisories/39206
mandriva.com/security/advisories?name=MDVSA-2010:063
lists.vmware.com/pipermail/security-announce/2010/000090.html
secunia.com/advisories/39251
Show 41 moreShow less
exchange.xforce.ibmcloud.com/vulnerabilities/50966
archives.neohapsis.com/archives/bugtraq/2010-04/0077.html
secunia.com/advisories/35346
lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
ubuntu.com/usn/usn-913-1
debian.org/security/2010/dsa-2032
libpng.org/pub/png/libpng.html
secunia.com/advisories/35524
securityfocus.com/bid/35233
vmware.com/security/advisories/VMSA-2010-0007.html
support.apple.com/kb/HT4077
vupen.com/english/advisories/2010/0637
vupen.com/english/advisories/2009/1510
secunia.com/advisories/35594
secunia.com/advisories/39215
secunia.com/advisories/35470
security.gentoo.org/glsa/glsa-200906-01.xml
redhat.com/archives/fedora-package-announce/2009-June/msg00218.html
redhat.com/archives/fedora-package-announce/2009-June/msg00630.html
vupen.com/english/advisories/2010/0847
archives.neohapsis.com/archives/fulldisclosure/2010-04/0121.html
nvd.nist.gov/vuln/detail/CVE-2009-2042
github.com/advisories/GHSA-rh45-m734-j52q
access.redhat.com/errata/RHSA-2010:0534
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=504782
bugzilla.redhat.com/show_bug.cgi?id=566234
bugzilla.redhat.com/show_bug.cgi?id=608238
bugzilla.redhat.com/show_bug.cgi?id=608644
security.access.redhat.com/data/csaf/v2/advisories/2010/rhsa-2010_0534.json
access.redhat.com/security/cve/CVE-2009-2042
cve.org/CVERecord?id=CVE-2009-2042
access.redhat.com/security/cve/CVE-2010-0205
cve.org/CVERecord?id=CVE-2010-0205
nvd.nist.gov/vuln/detail/CVE-2010-0205
access.redhat.com/security/cve/CVE-2010-1205
cve.org/CVERecord?id=CVE-2010-1205
nvd.nist.gov/vuln/detail/CVE-2010-1205
access.redhat.com/security/cve/CVE-2010-2249
cve.org/CVERecord?id=CVE-2010-2249
nvd.nist.gov/vuln/detail/CVE-2010-2249