{"id":"CVE-2024-34393","published":"2024-05-02T18:56:44Z","modified":"2026-10-03T09:01:06Z","title":"libxmljs2 attrs type confusion RCE","vendor":null,"product":null,"tier":"tail","description":{"text":"libxmljs2 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).","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01233,"percentile":0.6891,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-attrs-type-confusion-rce-jfsa-2024-001034097/","tags":[]},{"url":"https://github.com/marudor/libxmljs2/issues/204","tags":["x_transferred"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":13.78},{"name":"CVSS severity","points":5.67}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["<= 0.37.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-05-16T18:07:11.891204Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"libxmljs2","vulnerableRanges":["<=0.33.0"],"patched":[],"from":["GHSA-mjr4-7xg5-pfvh"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1690","exploited":false,"provenance":"source"}}