Stack-based buffer overflow in Libxml2 - CVE-2015-8242

 

Stack-based buffer overflow in Libxml2 - CVE-2015-8242

Published: December 15, 2015 / Updated: July 28, 2020


Vulnerability identifier: #VU32382
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-8242
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a boundary error within the xmlSAX2TextNode function in SAX2.c in the push interface in the HTML parser when processing crafted XML data. A remote unauthenticated attacker can trigger stack-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

Libxml2
Amazon Linux AMI
Fedora
libxml2 (Alpine package)
libxml2

How to mitigate CVE-2015-8242

Update to version 2.9.3.

Libxml2 - update to 2.9.3
libxml2 (Alpine package) - addressed in versions 2.9.1-r3, 2.9.1-r4
libxml2 - addressed in versions 2.9.3-1.fc22, 2.9.3-1.fc23

External References

Related Security Bulletins