libxmljs2 namespaces 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 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.
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.35.0 | — | No fix listed | GHSA-78h3-pg4x-j8cv |
- libxmljs2 Vendor— Affected up to 0.37.0 Fixed in — No fix listed CNA
- libxmljs2 (npm) Vendor— Affected up to 0.35.0 Fixed in — No fix listed GHSA-78h3-pg4x-j8cv
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:marudor:libxmljs2:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:marudor:libxmljs2:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-34394
- 2026-10-03 Alias added: GHSA-78h3-pg4x-j8cv
References
Sources
- CVE-2024-34394 · CVE Program
- CVE-2024-34394 · NVD
- FIRST EPSS
- GHSA-78h3-pg4x-j8cv · 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