Heap-based buffer overflow in Libxml2 - CVE-2015-7498

 

Heap-based buffer overflow in Libxml2 - CVE-2015-7498

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


Vulnerability identifier: #VU32388
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-7498
CWE-ID: CWE-122
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 in Heap-based buffer overflow in the xmlParseXmlDecl function in parser.c in libxml2 before 2.9.3. A remote attacker can use unspecified vectors related to extracting errors after an encoding conversion failure. 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

Libxml2
Amazon Linux AMI
Fedora
libxml2 (Alpine package)
libxml2

How to mitigate CVE-2015-7498

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