{"id":"CVE-2024-34392","aliases":["EUVD-2024-1688","GHSA-mg49-jqgw-gcj6"],"status":"published","title":"libxmljs namespaces type confusion RCE","description":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01136,"percentile":0.66791,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-843"],"published":"2024-05-02T18:55:38Z","modified":"2026-10-28T02:30:31Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"libxmljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.11"}]}]},{"source":"osv","ecosystem":"npm","package":"libxmljs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.11"}]}]}],"products":[{"vendor":"libxmljs_project","product":"libxmljs"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096/","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/libxmljs/libxmljs/issues/646","tags":["x_transferred","Exploit","Issue Tracking","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34392","tags":["advisory"]},{"url":"https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mg49-jqgw-gcj6"},{"url":"https://www.npmjs.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34392.json","tags":["advisory"]},{"url":"https://github.com/libxmljs/libxmljs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-34392","title":"libxmljs namespaces type confusion RCE","description":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","status":"published","published":"2024-05-02T18:55:38.219Z","modified":"2024-11-25T12:54:47.608Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-843","CWE-843"],"updated_at":"2026-11-02T14:34:23.193864Z"}],"euvd":[{"id":"EUVD-2024-1688","description":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","status":"published","published":"2024-05-02T18:55:38Z","modified":"2024-11-25T12:54:47Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:04:49.212921Z"}],"ghsa":[{"id":"GHSA-mg49-jqgw-gcj6","title":"libxmljs vulnerable to type confusion when parsing specially crafted XML ","description":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the `namespaces()` function (which invokes `_wrap__xmlNode_nsDef_get()`) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","status":"published","published":"2024-05-02T21:30:29Z","modified":"2024-11-18T16:26:41Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T14:38:20.012356Z"}],"nvd":[{"id":"CVE-2024-34392","description":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","status":"published","published":"2024-05-02T19:15:06.333Z","modified":"2026-06-17T07:33:18.353Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T14:09:56.122111Z"}],"osv":[{"id":"CVE-2024-34392","title":"libxmljs namespaces type confusion RCE","description":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","status":"published","published":"2024-05-02T18:55:38.219Z","modified":"2026-10-28T02:30:31.456666562Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T15:44:40.391953Z"},{"id":"GHSA-mg49-jqgw-gcj6","title":"libxmljs vulnerable to type confusion when parsing specially crafted XML ","description":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the `namespaces()` function (which invokes `_wrap__xmlNode_nsDef_get()`) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","status":"published","published":"2024-05-02T21:30:29Z","modified":"2024-11-18T16:26:40Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T15:46:51.811331Z"}]}}
