CVE-2024-34394marudor libxmljs2
High 8.1 No auth needed
Follow: this CVE · marudor · marudor libxmljs2 We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- No
- Published
- May 2, 2024
- Updated
- Oct 3, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-843
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for libxmljs2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | libxmljs2 |
≤ 0.35.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-78h3-pg4x-j8cv). Check the version in your lockfile before upgrading.
Affected products
- marudor · libxmljs2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.