{"id":"CVE-2024-34394","title":"libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::get_local_namespaces()) on a grand-child of a node that refers to an entity","summary":"libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::get_local_namespaces()) on a grand-child of a node that refers to an entity. …","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-843"],"product":"libxmljs2","affected":["libxmljs2 <= 0.37.0"],"published":"2024-05-02","updated":"2026-10-03","sourceUpdated":"2026-10-03T10:16:38.343","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-34394","references":[{"url":"https://github.com/marudor/libxmljs2/issues/205","label":"reefs@jfrog.com"},{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/","label":"reefs@jfrog.com"},{"url":"https://github.com/marudor/libxmljs2/issues/205","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd","cve.org","exploit-available"],"epss":0.00997,"epssPercentile":0.6142,"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-05-02T19:57:23.256207Z"},"ingestedAt":"2026-10-03T09:42:13.791Z","slug":"CVE-2024-34394","body":"## Overview\n\nlibxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::get_local_namespaces()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":57,"depthScoreParts":{"impact":44.6,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[]}