Vulnerabilities · 2011 · Libpng
CVE-2011-3048
Libpng vulnerability
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.
Affected products
Libpng. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libpng runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/48587 · Vendor Advisory
- secunia.com/advisories/48644 · Vendor Advisory
- secunia.com/advisories/48665 · Vendor Advisory
- secunia.com/advisories/48721 · Vendor Advisory
- secunia.com/advisories/48983 · Vendor Advisory
- www.libpng.org/pub/png/libpng.html · Vendor Advisory
- lists.apple.com/archives/security-announce/2012/Sep/msg00003.html
- lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- nvd.nist.gov/vuln/detail/CVE-2011-3048
- cve.org/CVERecord?id=CVE-2011-3048
More vulnerabilities in Libpng products
CVE-2026-22801CVE-2026-22695CVE-2025-66293CVE-2025-65018CVE-2025-64720CVE-2025-64506CVE-2025-64505CVE-2025-28164All 54
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.