What’s Vulnerable › Vulnerabilities

CVE-2024-34392: libxmljs namespaces type confusion RCE

Description

libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.

Affected products

How to fix

Upgrade to a fixed version: libxmljs 1.0.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-34392 or the next vulnerability affects your stack