Vulnerabilities · 2009 · Libpng
CVE-2009-2042
Libpng vulnerability
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.
Affected products
Libpng. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libpng runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/35346 · Vendor Advisory
- www.libpng.org/pub/png/libpng.html · Patch
- www.vupen.com/english/advisories/2009/1510 · Patch
- www.securityfocus.com/bid/35233 · Patch
- archives.neohapsis.com/archives/bugtraq/2010-04/0077.html
- archives.neohapsis.com/archives/fulldisclosure/2010-04/0121.html
- lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- lists.vmware.com/pipermail/security-announce/2010/000090.html
- nvd.nist.gov/vuln/detail/CVE-2009-2042
- cve.org/CVERecord?id=CVE-2009-2042
More vulnerabilities in Libpng products
CVE-2026-22801CVE-2026-22695CVE-2025-66293CVE-2025-65018CVE-2025-64720CVE-2025-64506CVE-2025-64505CVE-2025-28164All 54
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.