Buffer overflow in Libpng
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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.066, 93.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libpng — versions 1.0.0, 1.0.1, 1.0.2
Weakness classification (CWE)
References
- secunia.com/advisories/49660 (third-party-advisory)
- secunia.com/advisories/48983 (third-party-advisory, Vendor Advisory)
- RHSA-2012:0523 (vendor-advisory)
- libpng-pngsettext2-code-execution(74494) (vdb-entry)
- APPLE-SA-2012-09-19-1 (vendor-advisory)
- support.apple.com/kb/HT5503
- www.securityfocus.com/bid/52830 (vdb-entry)
- www.libpng.org/pub/png/src/libpng-1.5.10-README.txt
- DSA-2446 (vendor-advisory)
- GLSA-201206-15 (vendor-advisory)