CVE-2011-3048
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 6.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 6.5% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 6.5% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Libpng 1.0.0
- Libpng 1.0.1
- Libpng 1.0.2
- Libpng 1.0.3
- Libpng 1.0.5
- Libpng 1.0.6
- Libpng 1.0.7
- Libpng 1.0.8
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2011-3048.md and follow it. Check whether this project is affected by CVE-2011-3048. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/48587
- http://secunia.com/advisories/48644
- http://secunia.com/advisories/48665
- http://secunia.com/advisories/48721
- http://secunia.com/advisories/48983
- http://www.libpng.org/pub/png/libpng.html
- http://secunia.com/advisories/48587
- http://secunia.com/advisories/48644
- http://secunia.com/advisories/48665
- http://secunia.com/advisories/48721
References
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00003.html
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077007.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077043.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077472.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077819.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079039.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079051.html
- http://rhn.redhat.com/errata/RHSA-2012-0523.html
- http://secunia.com/advisories/48587
- http://secunia.com/advisories/48644
- http://secunia.com/advisories/48665
- http://secunia.com/advisories/48721
- http://secunia.com/advisories/48983
- http://secunia.com/advisories/49660
- http://security.gentoo.org/glsa/glsa-201206-15.xml
- http://support.apple.com/kb/HT5501
- http://support.apple.com/kb/HT5503
- http://ubuntu.com/usn/usn-1417-1
- http://www.debian.org/security/2012/dsa-2446
- http://www.libpng.org/pub/png/libpng.html
- http://www.libpng.org/pub/png/src/libpng-1.5.10-README.txt
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:046
- http://www.osvdb.org/80822
- http://www.securityfocus.com/bid/52830