CVE-2024-34392: libxmljs vulnerable to type confusion when parsing specially crafted XML

Severity: Critical

CVSS Score: 8.1

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.