{"id":"CVE-2024-34394","aliases":["CVE-2024-34394","GHSA-78h3-pg4x-j8cv"],"related":[],"kind":"vulnerability","state":"published","title":"libxmljs2 namespaces type confusion RCE","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. This vulnerability can lead to denial of service and remote code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"libxmljs2 es afectada por una vulnerabilidad de confusión de tipos cuando analiza un XML especialmente manipulado mientras se invoca la función namespaces() (que invoca XmlNode::get_local_namespaces()) en un nieto de un nodo que hace referencia a una entidad. Esta vulnerabilidad puede provocar denegación de servicio y ejecución remota de código.","source":"nvd"}],"published":"2024-05-02T18:57:35.301Z","modified":"2026-10-03T10:16:38.343Z","severity":{"scorer":"JFROG","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"JFROG","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"CRITICAL"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.37.0","status":"affected"}],"package":"libxmljs2","source":"cvelist"},{"ranges":[{"version":"*","status":"affected"}],"vendor":"marudor","product":"libxmljs2","cpe":"cpe:2.3:a:marudor:libxmljs2:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.35.0"}],"ecosystem":"npm","package":"libxmljs2","purl":"pkg:npm/libxmljs2","source":"ghsa"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/marudor/libxmljs2/issues/205","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34394","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/marudor/libxmljs2","tags":["package"],"sources":["ghsa"]},{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"JFROG","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-05-02T19:57:23.256Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34394","url":"https://www.cve.org/CVERecord?id=CVE-2024-34394","licence":"CVE Terms of Use","modified":"2026-10-03T09:02:47.294Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-78h3-pg4x-j8cv","url":"https://github.com/advisories/GHSA-78h3-pg4x-j8cv","licence":"CC-BY-4.0","modified":"2024-11-25T19:28:05.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34394","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34394","licence":"Public domain","modified":"2026-10-03T10:16:38.343Z"}],"updatedAt":"2026-11-25T22:58:39.909Z","epss":{"score":0.00997,"percentile":0.63699,"date":"2026-12-01T12:00:22.000Z"}}