8.1high
libxmljs2 namespaces type confusion RCE
- Severity
- 8.1high CVSS:3.1 by JFROG
- Exploit likelihood
- 1.00% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- JFROG
- Also known as
- GHSA-78h3-pg4x-j8cv
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libxmljs2 | up to 0.37.0 | CVE List |
| marudor libxmljs2 | * | CVE List |
| libxmljs2 (npm) | up to 0.35.0 | GitHub Advisory Database |
All scores
| JFROG | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
libxmljs2 es afectada por una vulnerabilidad de confusión de tipos cuando analiza un XML especialmente manipulado mientras se invoca la función namespaces() (que invoca XmlNode::get_local_namespaces()) en un nieto de un nodo que hace referencia a una entidad. Esta vulnerabilidad puede provocar denegación de servicio y ejecución remota de código.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-34394 changed 2026-10-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-78h3-pg4x-j8cv changed 2024-11-25 | CC-BY-4.0 |
| NVD | CVE-2024-34394 changed 2026-10-03 | Public domain |