{"id":"CVE-2022-40303","title":"An issue was discovered in libxml2 before 2.10.3","summary":"An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negativ…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-190","CWE-190"],"vendor":"xmlsoft","product":"libxml2","affected":["libxml2 < 2.10.3","active_iq_unified_manager","clustered_data_ontap","clustered_data_ontap_antivirus_connector","netapp_manageability_sdk","ontap_select_deploy_administration_utility","snapmanager","ipados < 15.7.2","iphone_os < 15.7.2","macos >= 11.0, < 11.7.2","macos >= 12.0, < 12.6.2","tvos < 16.2","watchos < 9.2","h300s_firmware","h500s_firmware","h700s_firmware","h410s_firmware","h410c_firmware"],"patched":["libxml2 2.10.3","ipados 15.7.2","iphone_os 15.7.2","macos 12.6.2","tvos 16.2","watchos 9.2"],"published":"2022-11-23","updated":"2026-10-14","sourceUpdated":"2026-10-14T18:17:04.783","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-40303","references":[{"url":"http://seclists.org/fulldisclosure/2022/Dec/21","label":"cve@mitre.org"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/24","label":"cve@mitre.org"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/25","label":"cve@mitre.org"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/26","label":"cve@mitre.org"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/27","label":"cve@mitre.org"},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986356fc149915a74972bf198abc266bc2c0","label":"cve@mitre.org"},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3","label":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20221209-0003/","label":"cve@mitre.org"},{"url":"https://support.apple.com/kb/HT213531","label":"cve@mitre.org"},{"url":"https://support.apple.com/kb/HT213533","label":"cve@mitre.org"},{"url":"https://support.apple.com/kb/HT213534","label":"cve@mitre.org"},{"url":"https://support.apple.com/kb/HT213535","label":"cve@mitre.org"},{"url":"https://support.apple.com/kb/HT213536","label":"cve@mitre.org"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/21","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/24","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/25","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/26","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2022/Dec/27","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986356fc149915a74972bf198abc266bc2c0","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20221209-0003/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT213531","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT213533","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT213534","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT213535","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT213536","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-337522.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-341067.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-556635.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-625862.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-769027.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd"],"epss":0.41365,"epssPercentile":0.98655,"ingestedAt":"2026-10-14T18:47:39.275Z","slug":"CVE-2022-40303","body":"## Overview\n\nAn issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.\n\n## Affected\n\n- `libxml2 < 2.10.3`\n- `active_iq_unified_manager`\n- `clustered_data_ontap`\n- `clustered_data_ontap_antivirus_connector`\n- `netapp_manageability_sdk`\n- `ontap_select_deploy_administration_utility`\n- `snapmanager`\n- `ipados < 15.7.2`\n- `iphone_os < 15.7.2`\n- `macos >= 11.0, < 11.7.2`\n- `macos >= 12.0, < 12.6.2`\n- `tvos < 16.2`\n- `watchos < 9.2`\n- `h300s_firmware`\n- `h500s_firmware`\n- `h700s_firmware`\n- `h410s_firmware`\n- `h410c_firmware`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `libxml2 2.10.3`\n- `ipados 15.7.2`\n- `iphone_os 15.7.2`\n- `macos 12.6.2`\n- `tvos 16.2`\n- `watchos 9.2`","depth":"twilight","depthScore":50,"depthScoreParts":{"impact":41.3,"likelihood":8.3,"exploitation":0,"ransomware":0},"changes":[]}