CVE-2024-34391: libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking a
CVE-2024-34391 is a high-severity flaw (CVSS 8.1) affecting libxmljs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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).
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 34%) |
| CISA exploited list | No |
| Weakness | CWE-843 |
| Published | 2024-05-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-34391?
libxmljs: upgrade to 1.0.11. Exact commands for each OS are on this page.
Is CVE-2024-34391 being exploited?
CVE-2024-34391 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-34391 affect?
CVE-2024-34391 affects libxmljs. Severity is high (CVSS 8.1). 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 3
How urgent is CVE-2024-34391?
Priority 55/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-25341 HIGH 7.5 DOWNGRADE A vulnerability exists in the libxmljs 1.0.11 when parsing a specially crafted XML document
- CVE-2024-34392 HIGH 8.1 UPGRADE libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking t