CVE-2024-34391
libxmljs attrs type confusion RCE
CRITICAL 9.2EPSS 1.1%
libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking a function on the result of attrs() that was called on a parsed node. This vulnerability might lead to denial of service (on both 32-bit systems and 64-bit systems), data leak, infinite loop and remote code execution (on 32-bit systems with the XML_PARSE_HUGE flag enabled).
- Affected
- libxmljs
- CVSS v4.0 GitHub
- 9.2 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/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.10% chance of exploitation in the next 30 days, 65th percentile
- Published
- 2024-05-02
- Updated
- 2024-11-25
Proof-of-concept exploits (2)
- libxmljs/libxmljs/issues/6451056★ · 2026-01-12
- https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-00…
Security advisories
- https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-00…
- advisories/GHSA-6433-x5p4-8jc7