CVE-2011-2501
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of service disruption.
- Exploit odds
- 3.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.5% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.5% · EPSS, next 30 days
- Weakness
- CWE-125 · Out-of-bounds read
- Record status
- Modified
Affected
- Libpng < 1.0.55
- Libpng < 1.2.45
- Libpng < 1.4.8
- Libpng < 1.5.4
- Fedoraproject Fedora 14
- Debian Linux 5.0
- Debian Linux 6.0
- Canonical Ubuntu Linux 8.04
Attack profile CVSS 3.1 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-2501.md and follow it. Check whether this project is affected by CVE-2011-2501. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://slackware.com/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.617466
- http://www.openwall.com/lists/oss-security/2011/06/27/13
- http://www.openwall.com/lists/oss-security/2011/06/28/16
- https://bugzilla.redhat.com/show_bug.cgi?id=717084
- http://slackware.com/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.617466
- http://www.openwall.com/lists/oss-security/2011/06/27/13
- http://www.openwall.com/lists/oss-security/2011/06/28/16
- https://bugzilla.redhat.com/show_bug.cgi?id=717084
References
- http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng%3Ba=commit%3Bh=65e6d5a34f49acdb362a0625a706c6b914e670af
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062720.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063118.html
- http://secunia.com/advisories/45046
- http://secunia.com/advisories/45289
- http://secunia.com/advisories/45405
- http://secunia.com/advisories/45415
- http://secunia.com/advisories/45460
- http://secunia.com/advisories/45486
- http://secunia.com/advisories/45492
- http://secunia.com/advisories/49660
- http://security.gentoo.org/glsa/glsa-201206-15.xml
- http://slackware.com/security/viewer.php?l=slackware-security&y=2011&m=slackware-security.617466
- http://sourceforge.net/mailarchive/forum.php?thread_name=BANLkTikrnU6FJNQYFvwmt78hwpgKPVRd1Q%40mail.gmail.com&forum_name=png-mng-implement
- http://www.debian.org/security/2011/dsa-2287
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:151
- http://www.openwall.com/lists/oss-security/2011/06/27/13
- http://www.openwall.com/lists/oss-security/2011/06/28/16
- http://www.redhat.com/support/errata/RHSA-2011-1105.html
- http://www.securityfocus.com/bid/48474
- http://www.ubuntu.com/usn/USN-1175-1
- https://bugzilla.redhat.com/show_bug.cgi?id=717084
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68517
- http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng%3Ba=commit%3Bh=65e6d5a34f49acdb362a0625a706c6b914e670af
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062720.html