What’s Vulnerable › Vulnerabilities
CVE-2024-34394: libxmljs2 namespaces type confusion RCE
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-02 · updated 2026-10-03
- Weakness: CWE-843
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.
Affected products
- Marudor Libxmljs2: all versions
References
- https://github.com/marudor/libxmljs2/issues/205
- https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/
- https://github.com/marudor/libxmljs2/issues/205
- https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/
Get alerted when CVE-2024-34394 or the next vulnerability affects your stack