CVE-2022-40303
Summary
| CVE | CVE-2022-40303 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-11-23 00:15:11 UTC |
| Updated | 2026-10-14 18:17:04 UTC |
| Description | 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 negative 2GB offset, typically leading to a segmentation fault. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-190 | n/a | CWE-190 CWE-190 Integer Overflow or Wraparound
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | ADP | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Apple | Ipados | All | All | All | All |
| Operating System | Apple | Iphone Os | All | All | All | All |
| Operating System | Apple | Macos | All | All | All | All |
| Application | Netapp | Active Iq Unified Manager | - | All | All | All |
| Application | Netapp | Clustered Data Ontap | - | All | All | All |
| Application | Netapp | Clustered Data Ontap Antivirus Connector | - | All | All | All |
| Application | Netapp | Netapp Manageability Sdk | - | All | All | All |
| Application | Netapp | Ontap Select Deploy Administration Utility | - | All | All | All |
| Application | Netapp | Snapmanager | - | All | All | All |
| Application | Xmlsoft | Libxml2 | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | N/a | affected n/a | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| About the security content of watchOS 9.2 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Third Party Advisory |
| Full Disclosure: APPLE-SA-2022-12-13-5 macOS Monterey 12.6.2 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | Mailing List, Third Party Advisory |
| About the security content of macOS Big Sur 11.7.2 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Third Party Advisory |
| [CVE-2022-40303] Fix integer overflows with XML_PARSE_HUGE (c8469863) · Commits · GNOME / libxml2 · GitLab | af854a3a-2127-422b-91ae-364da2661108 | gitlab.gnome.org | Patch, Third Party Advisory |
| Full Disclosure: APPLE-SA-2022-12-13-6 macOS Big Sur 11.7.2 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | Mailing List, Third Party Advisory |
| November 2022 Libxml2 Vulnerabilities in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| cert-portal.siemens.com/productcert/html/ssa-556635.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| Full Disclosure: APPLE-SA-2022-12-13-2 iOS 15.7.2 and iPadOS 15.7.2 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | Mailing List, Third Party Advisory |
| v2.10.3 · Tags · GNOME / libxml2 · GitLab | af854a3a-2127-422b-91ae-364da2661108 | gitlab.gnome.org | Release Notes, Third Party Advisory |
| cert-portal.siemens.com/productcert/html/ssa-769027.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| cert-portal.siemens.com/productcert/html/ssa-625862.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| cert-portal.siemens.com/productcert/html/ssa-337522.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| About the security content of iOS 15.7.2 and iPadOS 15.7.2 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Third Party Advisory |
| cert-portal.siemens.com/productcert/html/ssa-341067.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| Full Disclosure: APPLE-SA-2022-12-13-8 watchOS 9.2 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | |
| About the security content of macOS Monterey 12.6.2 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Third Party Advisory |
| About the security content of tvOS 16.2 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Third Party Advisory |
| seclists.org/fulldisclosure/2022/Dec/26 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | Mailing List, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 160396 Oracle Enterprise Linux Security Update for libxml2 (ELSA-2023-0173)
- 160413 Oracle Enterprise Linux Security Update for libxml2 (ELSA-2023-0338)
- 181179 Debian Security Update for libxml2 (DLA 3172-1)
- 181192 Debian Security Update for libxml2 (DSA 5271-1)
- 182901 Debian Security Update for libxml2 (CVE-2022-40303)
- 199063 Ubuntu Security Notification for libxml2 Vulnerabilities (USN-5760-1)
- 241064 Red Hat Update for libxml2 (RHSA-2023:0173)
- 241093 Red Hat Update for libxml2 (RHSA-2023:0338)
- 242753 Red Hat Update for libxml2 (RHSA-2024:0413)
- 283234 Fedora Security Update for libxml2 (FEDORA-2022-aeafd24818)
- 283465 Fedora Security Update for libxml2 (FEDORA-2022-a6812b0224)
- 330130 IBM AIX Arbitrary Code Execution Vulnerability in libxml2 (libxml2_advisory3)
- 354430 Amazon Linux Security Advisory for libxml2 : ALAS2022-2022-258
- 354487 Amazon Linux Security Advisory for xmlsec1 : ALAS2022-2022-257
- 354559 Amazon Linux Security Advisory for xmlsec1 : ALAS-2022-257
- 354560 Amazon Linux Security Advisory for libxml2 : ALAS-2022-258
- 354834 Amazon Linux Security Advisory for libxml2 : ALAS2-2023-1996
- 354929 Amazon Linux Security Advisory for libxml2 : ALAS-2023-1743
- 355209 Amazon Linux Security Advisory for libxml2 : ALAS2023-2023-096
- 355268 Amazon Linux Security Advisory for xmlsec1 : ALAS2023-2023-097
- 356980 Amazon Linux Security Advisory for libxml2 : AL2012-2023-464
- 377762 Apple MacOS Ventura 13.0.1 Not Installed (HT213504)
- 377831 Apple macOS Monterey 12.6.2 Not Installed (HT213533)
- 377832 Apple macOS Big Sur 11.7.2 Not Installed (HT213534)
- 377902 Alibaba Cloud Linux Security Update for libxml2 (ALINUX3-SA-2023:0008)
- 378599 Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)
- 502547 Alpine Linux Security Update for libxml2
- 502741 Alpine Linux Security Update for libxml2
- 610450 Apple iOS 16.1.1 and iPadOS 16.1.1 Security Update Missing
- 610455 Apple iOS 15.7.2 and iPadOS 15.7.2 Security Update Missing
- 610470 Google Pixel Android March 2023 Security Patch Missing
- 610486 Google Android April 2023 Security Patch Missing for Huawei EMUI
- 672422 EulerOS Security Update for libxml2 (EulerOS-SA-2022-2800)
- 672493 EulerOS Security Update for libxml2 (EulerOS-SA-2023-1016)
- 672514 EulerOS Security Update for libxml2 (EulerOS-SA-2023-1041)
- 672550 EulerOS Security Update for libxml2 (EulerOS-SA-2023-1130)
- 672571 EulerOS Security Update for libxml2 (EulerOS-SA-2023-1106)
- 672616 EulerOS Security Update for libxml2 (EulerOS-SA-2023-1393)
- 672665 EulerOS Security Update for libxml2 (EulerOS-SA-2023-1365)
- 672769 EulerOS Security Update for libxml2 (EulerOS-SA-2023-1510)
- 710675 Gentoo Linux libxml2 Multiple Vulnerabilities (GLSA 202210-39)
- 752695 SUSE Enterprise Linux Security Update for libxml2 (SUSE-SU-2022:3692-1)
- 752722 SUSE Enterprise Linux Security Update for libxml2 (SUSE-SU-2022:3717-1)
- 752764 SUSE Enterprise Linux Security Update for libxml2 (SUSE-SU-2022:3871-1)
- 904558 Common Base Linux Mariner (CBL-Mariner) Security Update for libxml2 (11474)
- 904562 Common Base Linux Mariner (CBL-Mariner) Security Update for libxml2 (11471)
- 904624 Common Base Linux Mariner (CBL-Mariner) Security Update for libxml2 (11474-1)
- 904644 Common Base Linux Mariner (CBL-Mariner) Security Update for libxml2 (11471-1)
- 940884 AlmaLinux Security Update for libxml2 (ALSA-2023:0173)
- 940901 AlmaLinux Security Update for libxml2 (ALSA-2023:0338)
- 960535 Rocky Linux Security Update for libxml2 (RLSA-2023:0173)
- 960547 Rocky Linux Security Update for libxml2 (RLSA-2023:0338)