Heap-based buffer overflow in Libxml2 - CVE-2011-1944

 

Heap-based buffer overflow in Libxml2 - CVE-2011-1944

Published: September 2, 2011 / Updated: July 29, 2020


Vulnerability identifier: #VU32853
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-1944
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is 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 Integer overflow in xpath.c in libxml2 2.6.x through 2.6.32 and 2.7.x through 2.7.8, and libxml 1.8.16 and earlier,. A remote attacker can use a crafted XML file that triggers a heap-based buffer overflow when adding a new namespace node 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
libxml2 (Alpine package)

How to mitigate CVE-2011-1944

Update to version 2.7.0.

Libxml2 - update to 2.7.0
libxml2 (Alpine package) - update to 2.7.7-r4

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins