{"id":"CVE-2024-34393","revision":"e5472cfe3ac547e99886dd11c4b08f54","records":[{"revision":"e5472cfe3ac547e99886dd11c4b08f54","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-34393","aliases":[],"title":"libxmljs2 attrs type confusion RCE","description":"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).","state":0,"publishedAt":"2024-05-02T18:56:44.27+00:00","modifiedAt":"2026-10-03T09:01:06.508+00:00","affected":[{"ecosystem":"https://www.npmjs.com","name":"libxmljs2","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://www.npmjs.com\",\n                    \"packageName\": \"libxmljs2\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.37.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"severity":"HIGH"}],"references":["https://research.jfrog.com/vulnerabilities/libxmljs2-attrs-type-confusion-rce-jfsa-2024-001034097/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-34393","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-34393","identifiers":["CVE-2024-34393"]},"retained":false,"historicalAffected":[]}],"coverage":[]}