libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::getlocalnamespaces()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.
{
"cwe_ids": [
"CWE-843"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34394.json",
"cna_assigner": "JFROG"
}