Unrated severityNVD Advisory· Published Nov 22, 2022· Updated Apr 29, 2025
CVE-2022-40303
CVE-2022-40303
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
89- libxml2/libxml2description
- osv-coords88 versionspkg:apk/chainguard/libxml2pkg:apk/chainguard/libxml2-16pkg:apk/chainguard/libxml2-devpkg:apk/chainguard/libxml2-docpkg:apk/chainguard/libxml2-py3pkg:apk/chainguard/libxml2-utilspkg:apk/wolfi/libxml2pkg:apk/wolfi/libxml2-16pkg:apk/wolfi/libxml2-devpkg:apk/wolfi/libxml2-docpkg:apk/wolfi/libxml2-py3pkg:apk/wolfi/libxml2-utilspkg:rpm/almalinux/libxml2pkg:rpm/almalinux/libxml2-develpkg:rpm/almalinux/python3-libxml2pkg:rpm/opensuse/libxml2&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/libxml2&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/libxml2&distro=openSUSE%20Leap%20Micro%205.2pkg:rpm/opensuse/libxml2&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/libxml2-python&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/python-libxml2-python&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/python-libxml2-python&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/python-libxml2-python&distro=openSUSE%20Leap%20Micro%205.2pkg:rpm/suse/libxml2&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/libxml2&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCLpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/libxml2&distro=SUSE%20Manager%20Proxy%204.1pkg:rpm/suse/libxml2&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1pkg:rpm/suse/libxml2&distro=SUSE%20Manager%20Server%204.1pkg:rpm/suse/libxml2&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/libxml2&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209pkg:rpm/suse/libxml2-python&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/libxml2-python&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/python-libxml2&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/python-libxml2&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%202%2015%20SP3pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCLpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Manager%20Proxy%204.1pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1pkg:rpm/suse/python-libxml2-python&distro=SUSE%20Manager%20Server%204.1
< 0+ 87 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 2.9.7-15.el8_7.1
- (no CPE)range: < 2.9.7-15.el8_7.1
- (no CPE)range: < 2.9.7-15.el8_7.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.14-150400.5.10.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.10.3-1.1
- (no CPE)range: < 2.9.14-150400.5.10.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.14-150400.5.10.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.14-150400.5.10.1
- (no CPE)range: < 2.9.4-46.59.2
- (no CPE)range: < 2.9.4-46.59.2
- (no CPE)range: < 2.9.4-46.59.2
- (no CPE)range: < 2.9.4-46.59.2
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.4-46.59.2
- (no CPE)range: < 2.9.4-46.59.2
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.4-46.59.2
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.4-46.59.2
- (no CPE)range: < 2.9.4-46.59.2
- (no CPE)range: < 2.9.14-150400.5.10.1
- (no CPE)range: < 2.9.14-150400.5.10.1
- (no CPE)range: < 2.9.4-46.59.3
- (no CPE)range: < 2.9.4-46.59.3
- (no CPE)range: < 2.9.4-46.59.3
- (no CPE)range: < 2.9.4-46.59.3
- (no CPE)range: < 2.9.4-46.59.3
- (no CPE)range: < 2.9.4-46.59.3
- (no CPE)range: < 2.9.4-46.59.3
- (no CPE)range: < 2.9.4-46.59.3
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
- (no CPE)range: < 2.9.7-150000.3.51.1
Patches
Vulnerability mechanics
References
13- seclists.org/fulldisclosure/2022/Dec/21mitremailing-list
- seclists.org/fulldisclosure/2022/Dec/24mitremailing-list
- seclists.org/fulldisclosure/2022/Dec/25mitremailing-list
- seclists.org/fulldisclosure/2022/Dec/26mitremailing-list
- seclists.org/fulldisclosure/2022/Dec/27mitremailing-list
- gitlab.gnome.org/GNOME/libxml2/-/commit/c846986356fc149915a74972bf198abc266bc2c0mitre
- gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3mitre
- security.netapp.com/advisory/ntap-20221209-0003/mitre
- support.apple.com/kb/HT213531mitre
- support.apple.com/kb/HT213533mitre
- support.apple.com/kb/HT213534mitre
- support.apple.com/kb/HT213535mitre
- support.apple.com/kb/HT213536mitre
News mentions
0No linked articles in our index yet.