#VU96992 Integer underflow in libpng - CVE-2015-8540


Vulnerability identifier: #VU96992

Vulnerability risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2015-8540

CWE-ID: CWE-191

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
libpng
Universal components / Libraries / Libraries used by multiple products

Vendor: libpng

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer underflow within the png_check_keyword() function in pngwutil.c. A remote attacker can trick the victim to open a specially crafted PNG file, trigger an integer underflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

libpng: before 0.99, 1.0.66, 1.2.56, 1.4.19, 1.5.26, 0.99, 0.99, 0.99, 0.99, 0.99


External links
https://sourceforge.net/projects/libpng/files/libpng10/1.0.66/
https://www.openwall.com/lists/oss-security/2015/12/10/7
https://www.openwall.com/lists/oss-security/2015/12/11/2
https://sourceforge.net/projects/libpng/files/libpng12/1.2.56/
https://sourceforge.net/p/libpng/bugs/244/
https://lists.fedoraproject.org/pipermail/package-announce/2015-December/174435.html
https://sourceforge.net/projects/libpng/files/libpng15/1.5.26/
https://sourceforge.net/projects/libpng/files/libpng14/1.4.19/
https://www.securityfocus.com/bid/80592
https://sourceforge.net/p/libpng/code/ci/d9006f683c641793252d92254a75ae9b815b42ed/
https://www.openwall.com/lists/oss-security/2015/12/10/6
https://www.openwall.com/lists/oss-security/2015/12/17/10
https://www.openwall.com/lists/oss-security/2015/12/11/1
https://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
https://access.redhat.com/errata/RHSA-2016:1430
https://security.gentoo.org/glsa/201611-08
https://www.debian.org/security/2016/dsa-3443
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability