{"id":"CVE-2024-34394","aliases":["GHSA-78h3-pg4x-j8cv"],"url":"https://o3.security/vulnerability/CVE-2024-34394","summary":"libxmljs2 namespaces type confusion RCE","details":"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.","published":"2024-05-02T18:57:35.301Z","modified":"2026-08-12T03:51:35.379270141Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"libxmljs2","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/"},{"type":"WEB","url":"https://www.npmjs.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34394.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34394"},{"type":"REPORT","url":"https://github.com/marudor/libxmljs2/issues/205"},{"type":"PACKAGE","url":"https://github.com/marudor/libxmljs2"},{"type":"WEB","url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:35.379270141Z"}}