Description
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).
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| — | — | <= 1.0.11 |
| libxmljs_project | libxmljs | <= 1.0.11 |
References
- https://github.com/libxmljs/libxmljs/issues/645Exploit, Issue Tracking
- https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/Exploit, Third Party Advisory
- https://github.com/libxmljs/libxmljs/issues/645Exploit, Issue Tracking
- https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/Exploit, Third Party Advisory
Timeline
- Published
- May 2, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed