What’s Vulnerable › Vulnerabilities
CVE-2011-2691
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2011-07-17 · updated 2026-06-16
- Weakness: CWE-476
Description
The png_err 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 makes a function call using a NULL pointer argument instead of an empty-string argument, which allows remote attackers to cause a denial of service (application crash) via a crafted PNG image.
Affected products
- Debian Linux: 5.0, 6.0
- Fedoraproject Fedora: 14
- pnggroup libpng: from 1.0.0 before 1.0.55; from 1.2.0 before 1.2.45; from 1.4.0 before 1.4.8; from 1.5.0 before 1.5.4 — fixed in 1.0.55, 1.2.45, 1.4.8, 1.5.4
How to fix
Upgrade to a fixed version: pnggroup libpng 1.0.55, 1.2.45, 1.4.8, 1.5.4. Check the vendor advisory for mitigations.
References
- http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng%3Ba=commit%3Bh=9dad5e37aef295b4ef8dea39392b652deebc9261
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063118.html
- http://marc.info/?l=bugtraq&m=133951357207000&w=2
- http://secunia.com/advisories/45046
- http://secunia.com/advisories/45405
- http://secunia.com/advisories/45492
- http://secunia.com/advisories/49660
- http://security.gentoo.org/glsa/glsa-201206-15.xml
- http://support.apple.com/kb/HT5002
- http://www.debian.org/security/2011/dsa-2287
- http://www.libpng.org/pub/png/libpng.html
Get alerted when CVE-2011-2691 or the next vulnerability affects your stack