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: 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-2016-4658
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


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

How to mitigate CVE-2016-4658

Install update from vendor's website.

Libxml2 - update to 2.9.5
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.1.12, 2.3.3
libxml2 (Red Hat package) - update to 2.9.1-6.el7_9.6
libxml2 - update to 2.9.4
libxml2 - addressed in versions 2.9.7-1.fc26, 2.9.7-1.fc27
App Connect Enterprise Certified Container - addressed in versions 5.0.1, 6.1.0
Session Smart Router - addressed in versions 5.4.7, 5.5.3
Contrail Networking - update to 2011.L5

External References

Related Security Bulletins