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…
Check your servers for CVE-2011-2501
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2011-2501 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
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.
Exploitation
EPSS 3.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.9% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2011-2501 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2011-2501RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2011-2501Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2011-2501
trivy image --scanners vuln IMAGE | grep CVE-2011-2501
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- 49660 secunia.com · third party advisory
- 45046 secunia.com · third party advisory
- USN-1175-1 ubuntu.com · vendor advisory
- http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng%3Ba=commit%3Bh=65e6d5a34f49acdb362a0625a706c6b914e670af libpng.git.sourceforge.net
- MDVSA-2011:151 mandriva.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=717084 bugzilla.redhat.com
- SSA:2011-210-01 slackware.com · vendor advisory
- GLSA-201206-15 security.gentoo.org · vendor advisory
- FEDORA-2011-8868 lists.fedoraproject.org · vendor advisory
- 45289 secunia.com · third party advisory
- FEDORA-2011-9336 lists.fedoraproject.org · vendor advisory
- DSA-2287 debian.org · vendor advisory
7 more
- http://sourceforge.net/mailarchive/forum.php?thread_name=BANLkTikrnU6FJNQYFvwmt78hwpgKPVRd1Q%40mail.gmail.com&forum_name=png-mng-implement sourceforge.net
- 45405 secunia.com · third party advisory
- RHSA-2011:1105 redhat.com · vendor advisory
- 45460 secunia.com · third party advisory
- 45486 secunia.com · third party advisory
- 45492 secunia.com · third party advisory
- 45415 secunia.com · third party advisory
Other references
- 48474 securityfocus.com · vdb entry
- [oss-security] 20110627 CVE request for libpng regression (CVE-2004-0421) openwall.com · mailing list
- libpng-pngerror-dos(68517) exchange.xforce.ibmcloud.com · vdb entry
- [oss-security] 20110628 Re: CVE request for libpng regression (CVE-2004-0421) openwall.com · mailing list
Source: the record CVE-2011-2501 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse