CVE-2011-2501Libpng
Medium 6.5 No auth needed
Follow: this CVE · Libpng · Libpng We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jul 17, 2011
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Libpng.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libpng | libpng | ≥ 1.0.0 < 1.0.55 |
| libpng | libpng | ≥ 1.2.0 < 1.2.45 |
| libpng | libpng | ≥ 1.4.0 < 1.4.8 |
| libpng | libpng | ≥ 1.5.0 < 1.5.4 |
| fedoraproject | fedora | 14 |
| debian | debian_linux | 5.0 |
| debian | debian_linux | 6.0 |
| canonical | ubuntu_linux | 8.04 |
| canonical | ubuntu_linux | 10.04 |
| canonical | ubuntu_linux | 10.10 |
| canonical | ubuntu_linux | 11.04 |
Official sources
References
Links published by the sources. Open them with care.
- libpng.git.sourceforge.net
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- security.gentoo.org Third Party Advisory
- slackware.com Mailing List Patch Third Party Advisory
- sourceforge.net Exploit Issue Tracking Third Party Advisory
- www.debian.org Third Party Advisory
- www.mandriva.com Broken Link
- www.openwall.com Mailing List Patch Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- www.redhat.com Broken Link
- www.securityfocus.com Third Party Advisory VDB Entry
- www.ubuntu.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry