Heap-based buffer overflow in libpng - CVE-2011-3048
Published: May 29, 2012 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in 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. A remote attacker can use a crafted text chunk in a PNG image file to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Gentoo Linux
Fedora
Slackware Linux
openEuler
libpng (Alpine package)
libpng10
syslinux
syslinux-extlinux-nonlinux
syslinux-nonlinux
syslinux-tftpboot
syslinux-debuginfo
syslinux-debugsource
syslinux-devel
syslinux-efi64
syslinux-extlinux
syslinux-perl
How to mitigate CVE-2011-3048
libpng (Alpine package) - update to 1.4.11-r0
libpng10 - update to 1.0.59-1.el6
syslinux - update to 6.04-16
syslinux-extlinux-nonlinux - update to 6.04-16
syslinux-nonlinux - update to 6.04-16
syslinux-tftpboot - update to 6.04-16
syslinux-debuginfo - update to 6.04-16
syslinux-debugsource - update to 6.04-16
syslinux-devel - update to 6.04-16
syslinux-efi64 - update to 6.04-16
syslinux-extlinux - update to 6.04-16
syslinux-perl - update to 6.04-16
External 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
- http://www.securitytracker.com/id?1026879
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74494