Skip to content

CVE-2024-34392 libxmljs namespaces type confusion RCE

CriticalCVSS 9.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
libxmljs project libxmljs < 1.0.11; <= 1.0.11 1.0.11 Fixed
npm libxmljs(npm) <= 1.0.11 after 1.0.11 Fixed

Affected products

ProductAffected versionsFixed in
npm libxmljs(npm) <= 1.0.11 No fix listed
libxmljs project libxmljs <= 1.0.11 No fix listed
libxmljs project libxmljs < 1.0.11 1.0.11

References