CVE-2022-29824
No exploitation reported by the sources we read.
- Published2022-05-03
- WeaknessCWE-190
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.
Timeline
dates in UTC- 2022-05-0303:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 34.x | = 34 | no fix published | NVD |
| 35.x | = 35 | no fix published | NVD |
| 36.x | = 36 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
16 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libxml2Ubuntu:Pro:16.04:LTSall versions · fixed in 2.9.3+dfsg1-1ubuntu0.7+esm2
- libxml2Ubuntu:Pro:14.04:LTSall versions · fixed in 2.9.1+dfsg1-3ubuntu4.13+esm3
- libxml2Ubuntu:22.04:LTSall versions · fixed in 2.9.13+dfsg-1ubuntu0.1
- libxml2Ubuntu:20.04:LTSall versions · fixed in 2.9.10+dfsg-5ubuntu0.20.04.3
- libxml2Ubuntu:18.04:LTSall versions · fixed in 2.9.4+dfsg1-6.1ubuntu1.6
- libxml2TuxCare:Ubuntu:16.04all versions · fixed in 2.9.3+dfsg1-1ubuntu0.7+tuxcare.els3and 4 other packages
- libxml2TuxCare:CentOS:8.5all versions · fixed in 2.9.7-9.el8_4.2.tuxcare.els2and 3 other packages
- libxml2TuxCare:CentOS:8.4all versions · fixed in 2.9.7-9.el8_4.2.tuxcare.els2and 3 other packages
98 more package ranges on OSV.dev
Vendor advisories
libxml2: integer overflows in xmlBuf and xmlBuffer lead to out-of-bounds write
libxml2 as a component of Red Hat Enterprise Linux 6 · libxml2-devel as a component of Red Hat Enterprise Linux 6 · libxml2-python as a component of Red Hat Enterprise Linux 6 · +7 more
Siemens SIMATIC S7-1500
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.51 SP1 security update
Red Hat Security Advisory: libxml2 security update
Red Hat Security Advisory: libxml2 security update
Fix
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Vendor fix Red Hat Product Security RHSA-2022:8841 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:5250 · 45 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The desktop must be restarted (log out, then log back in) for this update to take effect.
- Workaround from the vendor Red Hat Product Security RHSA-2022:8841 · 1 productAvoid passing large inputs to the libxml2 library.
- Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.
Advisories and patches
- gitlab.gnome.orgPatch
- gitlab.gnome.orgPatch
- gitlab.gnome.orgRelease Notes
- www.oracle.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.16.5read 2026-10-23
- NVDCVSS 2.04.3read 2026-10-23
- NVDweakness (CWE)CWE-190read 2026-10-23
- FIRST EPSSEPSS score3.8 %2026-11-08
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-9616same flawAzure Linux · MIT
- AZL-9617same flawAzure Linux · MIT
- EUVD-2022-34142same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-3rrw-pv9w-qgchsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-75same flawJulia Security Advisories · CC-BY-4.0
- DLA-3012-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5142-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2022-0177advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2022-1658advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12043-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12085-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13165-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14174-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:14697-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10356-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2022:5250advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:5317advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2022:5250advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2022:5317advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2022:1750-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1833-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:2552-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2048-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5422-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Published
- 2022-05-03
- Last Modified
- 2026-10-14
- NVD status
- Modified
- GitHub Advisory
- GHSA-3rrw-pv9w-qgch
Frequently asked questions
What is CVE-2022-29824?
Is CVE-2022-29824 actively exploited?
What is the CVSS score for CVE-2022-29824?
Running libxml2? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-3rrw-pv9w-qgch
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)