Buffer overflow in Libxml2 - CVE-2015-7942

 

Buffer overflow in Libxml2 - CVE-2015-7942

Published: November 18, 2015 / Updated: July 28, 2020


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

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The xmlParseConditionalSections function in parser.c in libxml2 does not properly skip intermediary entities when it stops parsing invalid input, which allows context-dependent attackers to cause a denial of service (out-of-bounds read and crash) via crafted XML data, a different vulnerability than CVE-2015-7941.


Affected software

Libxml2
Amazon Linux AMI
Fedora
libxml2 (Alpine package)
mingw-libxml2
libxml2

How to mitigate CVE-2015-7942

Install update from vendor's website.

libxml2 (Alpine package) - addressed in versions 2.9.1-r3, 2.9.1-r4
mingw-libxml2 - addressed in versions 2.9.3-1.el7, 2.9.3-1.fc22, 2.9.3-1.fc23
libxml2 - addressed in versions 2.9.3-1.fc22, 2.9.3-1.fc23

External References

Related Security Bulletins