libxmljs2 attrs type confusion RCE
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-843 and the CVSS impact.
Summary
libxmljs2 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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | libxmljs2 | up to 0.37.0 | — | No fix listed | CNA |
| — | libxmljs2 (npm) | up to 0.33.0 | — | No fix listed | GHSA-mjr4-7xg5-pfvh |
- libxmljs2 Vendor— Affected up to 0.37.0 Fixed in — No fix listed CNA
- libxmljs2 (npm) Vendor— Affected up to 0.33.0 Fixed in — No fix listed GHSA-mjr4-7xg5-pfvh
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libxmljs_project:libxmljs:*:*:*:*:*:node.js:*:* | — | — | Libxmljs Project |
- cpe:2.3:a:libxmljs_project:libxmljs:*:*:*:*:*:node.js:*:* Versions — — ·Libxmljs Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-34393
- 2026-10-03 Alias added: GHSA-mjr4-7xg5-pfvh
References
Sources
- CVE-2024-34393 · CVE Program
- CVE-2024-34393 · NVD
- FIRST EPSS
- GHSA-mjr4-7xg5-pfvh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences