CVE-2011-2501 Memory corruption in n/a

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via a crafted PNG image triggering an out-of-bounds read in libpng.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2011-2501?

CVE-2011-2501 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 17 Jul 2011. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2011-2501?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Libpng Libpng.

How do I fix CVE-2011-2501?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2011-2501 being exploited?

There is no known exploitation of CVE-2011-2501 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as AZL-40745, GHSA-8m2c-g35f-jj8v.

Is CVE-2011-2501 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free