{"id":"CVE-2022-40304","state":"PUBLISHED","title":"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, ","description":"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.","publishedAt":"2022-11-23T00:00:00.000Z","updatedAt":"2026-10-14T18:01:41.298Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://gitlab.gnome.org/GNOME/libxml2/-/tags","https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3","https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b","https://security.netapp.com/advisory/ntap-20221209-0003/","https://support.apple.com/kb/HT213534","https://support.apple.com/kb/HT213533","https://support.apple.com/kb/HT213531","https://support.apple.com/kb/HT213536","https://support.apple.com/kb/HT213535","http://seclists.org/fulldisclosure/2022/Dec/21","http://seclists.org/fulldisclosure/2022/Dec/25","http://seclists.org/fulldisclosure/2022/Dec/26","http://seclists.org/fulldisclosure/2022/Dec/24","http://seclists.org/fulldisclosure/2022/Dec/27","https://cert-portal.siemens.com/productcert/html/ssa-398330.html","https://cert-portal.siemens.com/productcert/html/ssa-556635.html","https://cert-portal.siemens.com/productcert/html/ssa-625862.html","https://cert-portal.siemens.com/productcert/html/ssa-337522.html","https://cert-portal.siemens.com/productcert/html/ssa-341067.html","https://cert-portal.siemens.com/productcert/html/ssa-769027.html"],"weaknesses":["CWE-415"],"ingestedAt":"2026-10-29T19:50:35.280Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/40xxx/CVE-2022-40304.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-40304","state":"PUBLISHED","datePublished":"2022-11-23T00:00:00.000Z","dateUpdated":"2026-10-14T18:01:41.298Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-09-09T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/tags"},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3"},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b"},{"url":"https://security.netapp.com/advisory/ntap-20221209-0003/"},{"url":"https://support.apple.com/kb/HT213534"},{"url":"https://support.apple.com/kb/HT213533"},{"url":"https://support.apple.com/kb/HT213531"},{"url":"https://support.apple.com/kb/HT213536"},{"url":"https://support.apple.com/kb/HT213535"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/21","name":"20221220 APPLE-SA-2022-12-13-2 iOS 15.7.2 and iPadOS 15.7.2","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/25","name":"20221220 APPLE-SA-2022-12-13-6 macOS Big Sur 11.7.2","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/26","name":"20221220 APPLE-SA-2022-12-13-7 tvOS 16.2","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/24","name":"20221220 APPLE-SA-2022-12-13-5 macOS Monterey 12.6.2","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/27","name":"20221220 APPLE-SA-2022-12-13-8 watchOS 9.2","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2022-12-21T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/tags","tags":["x_transferred"]},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3","tags":["x_transferred"]},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20221209-0003/","tags":["x_transferred"]},{"url":"https://support.apple.com/kb/HT213534","tags":["x_transferred"]},{"url":"https://support.apple.com/kb/HT213533","tags":["x_transferred"]},{"url":"https://support.apple.com/kb/HT213531","tags":["x_transferred"]},{"url":"https://support.apple.com/kb/HT213536","tags":["x_transferred"]},{"url":"https://support.apple.com/kb/HT213535","tags":["x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/21","name":"20221220 APPLE-SA-2022-12-13-2 iOS 15.7.2 and iPadOS 15.7.2","tags":["mailing-list","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/25","name":"20221220 APPLE-SA-2022-12-13-6 macOS Big Sur 11.7.2","tags":["mailing-list","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/26","name":"20221220 APPLE-SA-2022-12-13-7 tvOS 16.2","tags":["mailing-list","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/24","name":"20221220 APPLE-SA-2022-12-13-5 macOS Monterey 12.6.2","tags":["mailing-list","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/27","name":"20221220 APPLE-SA-2022-12-13-8 watchOS 9.2","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T12:14:40.052Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-28T19:47:33.415083Z","id":"CVE-2022-40304","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-415","type":"CWE","lang":"en","description":"CWE-415 Double Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-28T19:49:17.691Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-556635.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-625862.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-337522.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-341067.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-769027.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T18:01:41.298Z"},"x_adpType":"supplier"}]}}}