Out-of-bounds Read in Libpng
CVE-2011-2501
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.035, 89.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libpng
- Canonical Ubuntu Linux — versions 8.04, 10.04, 10.10
- Debian Linux — versions 5.0, 6.0
- Fedoraproject Fedora — versions 14
Weakness classification (CWE)
References
- secunia.com/advisories/49660 (Broken Link, third-party-advisory)
- secunia.com/advisories/45046 (Broken Link, third-party-advisory)
- USN-1175-1 (vendor-advisory, Third Party Advisory)
- libpng.git.sourceforge.net/git/gitweb.cgi
- MDVSA-2011:151 (vendor-advisory, Broken Link)
- www.securityfocus.com/bid/48474 (Third Party Advisory, VDB Entry, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- SSA:2011-210-01 (vendor-advisory, Patch, Mailing List, Third Party Advisory)
- GLSA-201206-15 (vendor-advisory, Third Party Advisory)
- [oss-security] 20110627 CVE request for libpng regression (CVE-2004-0421) (mailing-list, Patch, Mailing List, Third Party Advisory)