{"id":"CVE-2022-40304","published":"2022-11-23T00:00:00Z","modified":"2026-10-14T18:01:41Z","title":"An issue was discovered in libxml2 before 2.10.3","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.05812,"percentile":0.93317,"provenance":"source"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"references":[{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/tags","tags":[]},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3","tags":[]},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20221209-0003/","tags":[]},{"url":"https://support.apple.com/kb/HT213534","tags":[]},{"url":"https://support.apple.com/kb/HT213533","tags":[]},{"url":"https://support.apple.com/kb/HT213531","tags":[]},{"url":"https://support.apple.com/kb/HT213536","tags":[]},{"url":"https://support.apple.com/kb/HT213535","tags":[]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/21","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/25","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/26","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/24","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/27","tags":["mailing-list"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-556635.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-625862.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-337522.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-341067.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-769027.html","tags":[]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":18.66},{"name":"CVSS severity","points":5.46}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-28T19:47:33.415083Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is in libxml2, an XML parsing library, in versions before 2.10.3, where certain invalid XML entity definitions can corrupt a hash table key. This can lead to subsequent logic errors and, in one case, a double-free. An attacker can trigger the issue by supplying crafted XML containing invalid entity definitions to software that parses it, which requires local access and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:37:46Z"},"euvd":{"id":"EUVD-2022-43601","exploited":false,"provenance":"source"}}