VDB

CVE-2022-29824

CVE-2022-29824 PUBLISHED CVSS 6.5 MEDIUM

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.

PackageEcosystemFixed in
libxml2NuGet2.9.14
libxml2.vc140_xp.mt.static.x86NuGet2.9.14
libxml2-develAmazon Linux2.10.3-2.amzn2023.0.1, 2.9.1-6.amzn2.5.6
libxml2-staticAmazon Linux2.10.3-2.amzn2023.0.1, 2.9.1-6.amzn2.5.6
libxml2conan.io2.9.14
libxml2Amazon Linux2.10.3-2.amzn2023.0.1, 2.9.1-6.amzn2.5.6
python3-libxml2Amazon Linux2.10.3-2.amzn2023.0.1
libxml2Arch Linux2.9.14-1
libxml2-pythonAmazon Linux2.9.1-6.amzn2.5.6
libxml2Alpine2.9.14-r0
libxml2xmlsoft2.9.14
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5

3 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
amazon:2023libxml2-devel0
amazon:2libxml2-static0
amazon:2023libxml2-static0
NuGetlibxml20
alpinelibxslt*
ConanCenterlibxml20
amazon:2libxml2-devel0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2libxml20
amazon:2023python3-libxml20
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
archlibxml20
xmlsoftlibxml2
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2libxml2-python0
NuGetlibxml2.vc140_xp.mt.static.x860
alpinelibxml20
amazon:2023libxml20
n/an/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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›