CVE & CISA-KEV Catalog

CVE-2022-40303

HIGHEPSS 97th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
libxml2Debian
Fixed in:2.9.10+dfsg-6.7+deb11u3CVE-2022-40303
Fixed in:2.9.14+dfsg-1.1CVE-2022-40303
Fixed in:2.9.14+dfsg-1.1CVE-2022-40303
Fixed in:2.9.14+dfsg-1.1CVE-2022-40303
libxml2Rocky
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
libxml2Red Hat / RHEL
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
libxml2-debuginfoRed Hat / RHEL
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
libxml2-debuginfoRocky
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
libxml2-debugsourceRocky
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
libxml2-debugsourceRed Hat / RHEL
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
libxml2-develRocky
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
libxml2-develRed Hat / RHEL
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
python3-libxml2Red Hat / RHEL
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
python3-libxml2Rocky
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
python3-libxml2-debuginfoRocky
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
python3-libxml2-debuginfoRed Hat / RHEL
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
Fixed in:0:2.9.7-13.el8_6.4RHSA-2024:0413
libxml2Ubuntu
Fixed in:2.9.1+dfsg1-3ubuntu4.13+esm4USN-5760-2
Fixed in:2.9.3+dfsg1-1ubuntu0.7+esm4USN-5760-2
Fixed in:2.9.4+dfsg1-6.1ubuntu1.8USN-5760-1
Fixed in:2.9.10+dfsg-5ubuntu0.20.04.5USN-5760-1
Fixed in:2.9.13+dfsg-1ubuntu0.2USN-5760-1
Fixed in:2.9.14+dfsg-1ubuntu0.1USN-5760-1
libxml2-utilsUbuntu
Fixed in:2.9.1+dfsg1-3ubuntu4.13+esm4USN-5760-2
Fixed in:2.9.3+dfsg1-1ubuntu0.7+esm4USN-5760-2
Fixed in:2.9.4+dfsg1-6.1ubuntu1.8USN-5760-1
Fixed in:2.9.10+dfsg-5ubuntu0.20.04.5USN-5760-1
Fixed in:2.9.13+dfsg-1ubuntu0.2USN-5760-1
Fixed in:2.9.14+dfsg-1ubuntu0.1USN-5760-1
ruby-nokogiriUbuntu
Fixed in:1.10.7+dfsg1-2ubuntu0.1~esm2USN-7659-1
Fixed in:1.13.1+dfsg-2ubuntu0.1~esm1USN-7659-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

22.79%probability of exploitation in 30 days
97thpercentile

Very high risk: more likely to be exploited than 97% of all known CVEs.

References

Related Vulnerabilities

Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-16040Medium6.5100%-Fix
CVE-2019-11477High7.599%-Fix
CVE-2023-44443High7.894%-Fix
CVE-2014-0569High9.390%--
CVE-2017-3599High7.590%-Fix
CVE-2023-21716Critical9.882%-Fix
Embed a live status badge for CVE-2022-40303
CVE-2022-40303 severity badge

Markdown

[![CVE-2022-40303](https://tridentstack.com/cve/badge/CVE-2022-40303.svg)](https://tridentstack.com/cve/CVE-2022-40303)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-40303"><img src="https://tridentstack.com/cve/badge/CVE-2022-40303.svg" alt="CVE-2022-40303"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-29.