Vulnerabilities · 2011 · Libpng
CVE-2011-2501
Libpng vulnerability
The png_format_buffer function in pngerror.c in libpng 1.0.x before 1.0.55, 1.2.x before 1.2.45, 1.4.x before 1.4.8, and 1.5.x before 1.5.4 allows remote attackers to cause a denial of service (application crash) via a crafted PNG image that triggers an out-of-bounds read during the copying of error-message data. NOTE: this vulnerability exists because of a CVE-2004-0421 regression. NOTE: this is called an off-by-one error by some sources.
Affected products
Libpng, Fedora, Debian Linux, Ubuntu Linux. 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
- slackware.com/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.617466 · Patch
- www.openwall.com/lists/oss-security/2011/06/27/13 · Patch
- www.openwall.com/lists/oss-security/2011/06/28/16 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=717084 · Patch
- lists.fedoraproject.org/pipermail/package-announce/2011-July/062720.html · Third Party Advisory
- lists.fedoraproject.org/pipermail/package-announce/2011-July/063118.html · Third Party Advisory
- security.gentoo.org/glsa/glsa-201206-15.xml · Third Party Advisory
- sourceforge.net/mailarchive/forum.php?thread_name=BANLkTikrnU6FJNQYFvwmt78hwpgKPVRd1Q%40ma · Exploit
- nvd.nist.gov/vuln/detail/CVE-2011-2501
- cve.org/CVERecord?id=CVE-2011-2501
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.