{"id":"GHSA-78h3-pg4x-j8cv","revision":"2baf3041c59d43398587f33af19173f6","records":[{"revision":"2baf3041c59d43398587f33af19173f6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-78h3-pg4x-j8cv","aliases":["CVE-2024-34394"],"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.","state":0,"publishedAt":"2024-05-02T21:30:29+00:00","modifiedAt":"2024-11-25T19:28:05+00:00","affected":[{"ecosystem":"npm","name":"libxmljs2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"0.35.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-34394","https://github.com/marudor/libxmljs2/issues/205","https://github.com/marudor/libxmljs2","https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098"],"sourceUrl":"https://github.com/advisories/GHSA-78h3-pg4x-j8cv","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-78h3-pg4x-j8cv","identifiers":["GHSA-78h3-pg4x-j8cv","CVE-2024-34394"]},"retained":false,"historicalAffected":[]}],"coverage":[]}