All reports
Critical

libxmljs2 vulnerable to type confusion when parsing specially crafted XML

Affected versions

Affected versions
<= 0.35.0
Fixed version
Not reported

Exploitation

CVE-2024-34394

Probability of exploitation in the next 30 days: 0.99%

FIRST EPSS · 2026-11-21

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.

Links

Credits

  • macariomartins