What’s Vulnerable › Vulnerabilities

CVE-2024-34391: libxmljs attrs type confusion RCE

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).

Affected products

How to fix

Upgrade to a fixed version: libxmljs 1.0.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-34391 or the next vulnerability affects your stack