High severity7.8NVD Advisory· Published Nov 23, 2022· Updated Jun 17, 2026
CVE-2022-40304
CVE-2022-40304
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
90- libxml2/libxml2description
- Range: <2.10.3
- 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
14- gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80bnvdPatchThird Party Advisory
- gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3nvdPatchRelease NotesThird Party Advisory
- seclists.org/fulldisclosure/2022/Dec/21nvdMailing ListThird Party Advisory
- seclists.org/fulldisclosure/2022/Dec/24nvdMailing ListThird Party Advisory
- seclists.org/fulldisclosure/2022/Dec/25nvdMailing ListThird Party Advisory
- seclists.org/fulldisclosure/2022/Dec/26nvdMailing ListThird Party Advisory
- gitlab.gnome.org/GNOME/libxml2/-/tagsnvdRelease NotesThird Party Advisory
- security.netapp.com/advisory/ntap-20221209-0003/nvdThird Party Advisory
- support.apple.com/kb/HT213531nvdThird Party Advisory
- support.apple.com/kb/HT213533nvdThird Party Advisory
- support.apple.com/kb/HT213534nvdThird Party Advisory
- support.apple.com/kb/HT213535nvdThird Party Advisory
- support.apple.com/kb/HT213536nvdThird Party Advisory
- seclists.org/fulldisclosure/2022/Dec/27nvd
News mentions
0No linked articles in our index yet.