{"id":"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.","aliases":["GHSA-78h3-pg4x-j8cv"],"modified":"2026-07-15T01:48:56.713937044Z","published":"2024-05-02T18:57:35.301Z","database_specific":{"cna_assigner":"JFROG","cwe_ids":["CWE-843"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34394.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/marudor/libxmljs2","events":[{"introduced":"0"},{"last_affected":"e0eb378267b1eba552c30451a7c22ea036ae5357"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0.33.0"}]}}],"versions":["v0.33.0","v0.32.0","v0.31.0","v0.30.1","v0.30.0","v0.29.0","v0.28.0","v0.27.0","v0.26.7","v0.26.6","v0.26.5","v0.26.4","v0.26.3","v0.26.2","v0.26.1","v0.26.0","v0.25.5","v0.25.4","v0.25.3","v0.25.2","v0.25.1","v0.25.0","v0.24.0","v0.21.7","v0.19.5","v0.19.4","v0.19.3","v0.19.2","v0.19.0","v0.18.8","v0.18.7","v0.18.6","v0.18.5","v0.18.4","v0.18.3","v0.18.2","v0.18.1","v0.18.0","v0.17.1","v0.17.0","v0.16.1","v0.16.0","v0.15.0","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.0","v0.12.0","v0.11.1","v0.11.0","v0.10.0","v0.9.0","v0.8.1","v0.8.0","v0.7.0","v0.6.1","v0.6.0","0.5.4","0.5.3","0.5.2","0.5.1","0.5.0","0.4.3","0.4.1","0.4.0","0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34394.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}