Use-after-free in Libxml2 - CVE-2016-4658

 

Use-after-free in Libxml2 - CVE-2016-4658

Published: October 13, 2021


Vulnerability identifier: #VU57346
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: CVE-2016-4658
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
Libxml2
Arch Linux
CentOS
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Fedora
Red Hat Advanced Cluster Management for Kubernetes
App Connect Enterprise Certified Container
Session Smart Router
IBM Security Guardium
libxml2 (Red Hat package)
libxml2
Contrail Networking

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error, caused by using namespace nodes in XPointer ranges within the xpointer.c in libxml2. A remote attackers can pass specially crated XML document to he application, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


How to mitigate CVE-2016-4658

Install update from vendor's website.

Sources