CVE-2022-29824
Reported by mitre · Published May 3, 2022
libxml2 is fixed in 2.9.14 (NuGet)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libxml2 | NuGet | 2.9.14 |
| libxml2.vc140_xp.mt.static.x86 | NuGet | 2.9.14 |
| libxml2-devel | Amazon Linux | 2.10.3-2.amzn2023.0.1, 2.9.1-6.amzn2.5.6 |
| libxml2-static | Amazon Linux | 2.10.3-2.amzn2023.0.1, 2.9.1-6.amzn2.5.6 |
| libxml2 | conan.io | 2.9.14 |
| libxml2 | Amazon Linux | 2.10.3-2.amzn2023.0.1, 2.9.1-6.amzn2.5.6 |
| python3-libxml2 | Amazon Linux | 2.10.3-2.amzn2023.0.1 |
| libxml2 | Arch Linux | 2.9.14-1 |
| libxml2-python | Amazon Linux | 2.9.1-6.amzn2.5.6 |
| libxml2 | Alpine | 2.9.14-r0 |
| libxml2 | xmlsoft | 2.9.14 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | libxml2-devel | 0 |
| amazon:2 | libxml2-static | 0 |
| amazon:2023 | libxml2-static | 0 |
| NuGet | libxml2 | 0 |
| alpine | libxslt | * |
| ConanCenter | libxml2 | 0 |
| amazon:2 | libxml2-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | libxml2 | 0 |
| amazon:2023 | python3-libxml2 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| arch | libxml2 | 0 |
| xmlsoft | libxml2 | |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | libxml2-python | 0 |
| NuGet | libxml2.vc140_xp.mt.static.x86 | 0 |
| alpine | libxml2 | 0 |
| amazon:2023 | libxml2 | 0 |
| n/a | n/a | * |
Timeline
- May 2, 2022 CVE Published
- May 3, 2022 EPSS Score (30 in total, the first dated here)
- Jun 2, 2022 PoC Published (3 in total, the first dated here)
- Mar 17, 2026 Security Advisory (17 in total, the first dated here)
- Jun 26, 2026 Coalition ESS Score
- Nov 1, 2026 Distribution Patch (13 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-29824
vulnetix vdb fixes CVE-2022-29824
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-29824/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-9136d646e4 vendor-advisory
- FEDORA-2022-be6d83642a vendor-advisory
- [debian-lts-announce] 20220516 [SECURITY] [DLA 3012-1] libxml2 security update mailing-list
- FEDORA-2022-f624aad735 vendor-advisory
- DSA-5142 vendor-advisory
- GLSA-202210-03 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url
- https://nvd.nist.gov/vuln/detail/CVE-2022-29824 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FZOBT5Y6Y2QLDDX2HZGMV7MJMWGXORKK/ url