CVEfocus › CVE database › CVE-2009-2042

CVE-2009-2042

EPSS 2.3% (higher than 83% of CVEs)Published 2009-06-12Updated 2024-08-07Assigner: mitre

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.

What to do

Fixed builds are available from Red Hat: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 6libpngFix pending
Affected
Red Hat Enterprise Linux 6libpng-develFix pending
Affected
Red Hat Enterprise Linux 6libpng-staticFix pending
Affected
Red Hat Enterprise Linux 5libpngFixed2:1.2.10-7.1.el5_5.3RHSA-2010:0534
Red Hat Enterprise Linux 5libpng-develFixed2:1.2.10-7.1.el5_5.3RHSA-2010:0534
Red Hat Enterprise Linux 4libpngFixed2:1.2.7-3.el4_8.3RHSA-2010:0534
Red Hat Enterprise Linux 4libpng-develFixed2:1.2.7-3.el4_8.3RHSA-2010:0534
Red Hat Enterprise Linux 4libpng10Fixed0:1.0.16-3.el4_8.4RHSA-2010:0534
Red Hat Enterprise Linux 4libpng10-develFixed0:1.0.16-3.el4_8.4RHSA-2010:0534
Red Hat Enterprise Linux 3libpngFixed2:1.2.2-30RHSA-2010:0534
Red Hat Enterprise Linux 3libpng-develFixed2:1.2.2-30RHSA-2010:0534
Red Hat Enterprise Linux 3libpng10Fixed0:1.0.13-21RHSA-2010:0534
Red Hat Enterprise Linux 3libpng10-develFixed0:1.0.13-21RHSA-2010:0534

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.