{"id":"CVE-2024-34394","published":"2024-05-02T18:57:35Z","modified":"2026-10-03T09:02:47Z","title":"libxmljs2 namespaces type confusion RCE","vendor":null,"product":null,"tier":"tail","description":{"text":"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. This vulnerability can lead to denial of service and remote code execution.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00989,"percentile":0.63328,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/","tags":[]},{"url":"https://github.com/marudor/libxmljs2/issues/205","tags":[]}],"priority":{"score":18.3,"factors":[{"name":"EPSS percentile","points":12.67},{"name":"CVSS severity","points":5.67}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["<= 0.37.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-05-02T19:57:23.256207Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"libxmljs2","vulnerableRanges":["<=0.35.0"],"patched":[],"from":["GHSA-78h3-pg4x-j8cv"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1484","exploited":false,"provenance":"source"}}