{"id":"CVE-2024-34394","aliases":["EUVD-2024-1484","GHSA-78h3-pg4x-j8cv"],"status":"published","title":"libxmljs2 namespaces type confusion RCE","description":"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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00989,"percentile":0.62966,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-843"],"published":"2024-05-02T18:57:35Z","modified":"2026-10-28T02:30:27Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"libxmljs2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.35.0"}]}]},{"source":"osv","ecosystem":"npm","package":"libxmljs2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.35.0"}]}]}],"products":[{"vendor":"marudor","product":"libxmljs2"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/","tags":["x_transferred","web"]},{"url":"https://github.com/marudor/libxmljs2/issues/205","tags":["x_transferred","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34394","tags":["advisory"]},{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098","tags":["web"]},{"url":"https://github.com/advisories/GHSA-78h3-pg4x-j8cv"},{"url":"https://www.npmjs.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34394.json","tags":["advisory"]},{"url":"https://github.com/marudor/libxmljs2","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-34394","title":"libxmljs2 namespaces type confusion RCE","description":"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.","status":"published","published":"2024-05-02T18:57:35.301Z","modified":"2026-10-03T09:02:47.294Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T14:34:23.193864Z"}],"euvd":[{"id":"EUVD-2024-1484","description":"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.","status":"published","published":"2024-05-02T18:57:35Z","modified":"2026-10-03T09:02:47Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T17:27:41.962371Z"}],"ghsa":[{"id":"GHSA-78h3-pg4x-j8cv","title":"libxmljs2 vulnerable to type confusion when parsing specially crafted XML","description":"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.","status":"published","published":"2024-05-02T21:30:29Z","modified":"2024-11-25T19:28:08Z","cvss":[{"version":"4.0","score":9.2,"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","level":"critical"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T14:38:23.575854Z"}],"nvd":[{"id":"CVE-2024-34394","description":"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.","status":"published","published":"2024-05-02T19:15:06.63Z","modified":"2026-10-03T10:16:38.343Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T14:09:56.122111Z"}],"osv":[{"id":"CVE-2024-34394","title":"libxmljs2 namespaces type confusion RCE","description":"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.","status":"published","published":"2024-05-02T18:57:35.301Z","modified":"2026-10-28T02:30:27.722119695Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T15:44:40.391953Z"},{"id":"GHSA-78h3-pg4x-j8cv","title":"libxmljs2 vulnerable to type confusion when parsing specially crafted XML","description":"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.","status":"published","published":"2024-05-02T21:30:29Z","modified":"2024-11-25T19:28:05Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":9.2,"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","level":"critical"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T15:46:40.657155Z"}]}}
