CVE-2022-40303
- State
- Published
- Severity
- 7.5 High
- Published
- Nov 22, 2022
- Updated
- Oct 14, 2026
- Reserved
- Sep 9, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986356fc149915a74972bf198abc266bc2c0
- 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
- 20221220 APPLE-SA-2022-12-13-2 iOS 15.7.2 and iPadOS 15.7.2mailing-list
- 20221220 APPLE-SA-2022-12-13-6 macOS Big Sur 11.7.2mailing-list
- 20221220 APPLE-SA-2022-12-13-7 tvOS 16.2mailing-list
- 20221220 APPLE-SA-2022-12-13-5 macOS Monterey 12.6.2mailing-list
- 20221220 APPLE-SA-2022-12-13-8 watchOS 9.2mailing-list
- 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
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.