Skip to content
OpenAdvisories
High · 8.1 CVE-2024-34394 EUVD-2024-1484GHSA-78h3-pg4x-j8cv

libxmljs2 namespaces type confusion RCE

Published May 2, 2024 · Updated Oct 3, 2026 · Assigned by JFROG

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

VendorProductAffectedFixed
— libxmljs2 ≤ 0.37.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm libxmljs2 <= 0.35.0 — GHSA-78h3-pg4x-j8cv

References