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

EPSS: 0.035 (87.9th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2011-2501?
CVE-2011-2501 is a medium-severity vulnerability in Libpng, classified under Out-of-bounds Read. CVSS score: 6.5/10. Published 2011-07-17.
How severe is CVE-2011-2501?
Medium severity. CVSS v3 base score is 6.5 out of 10.