CVE-2024-34392
libxmljs namespaces type confusion RCE
CRITICAL 9.3EPSS 1.1%
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.
- Affected
- libxmljs
- CVSS v4.0 GitHub
- 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1 JFROG
- 8.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.14% chance of exploitation in the next 30 days, 66th percentile
- Published
- 2024-05-02
- Updated
- 2024-11-25
Proof-of-concept exploits (2)
- libxmljs/libxmljs/issues/6461056★ · 2026-01-12
- https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-20…
Security advisories
- https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-20…
- advisories/GHSA-mg49-jqgw-gcj6