CVE-2024-34391Libxmljs Project Libxmljs
Critical 9.8 No auth needed
Follow: this CVE · Libxmljs Project · Libxmljs Project Libxmljs We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- May 2, 2024
- Updated
- Jun 17, 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:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Libxmljs.
- 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 | libxmljs |
≤ 1.0.11 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-6433-x5p4-8jc7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libxmljs_project | libxmljs | < 1.0.11 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking
- research.jfrog.com Exploit Third Party Advisory