VDB

CVE-2022-40304

CVE-2022-40304 PUBLISHED CVSS 7.800000190734863 HIGH

Record from NVD · Published October 14, 2022

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.

EPSS 5.81% · 93.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libxml2.vc140_xp.mt.static.x86NuGet2.10.3
libxml2NuGet2.10.3
nokogiriRubyGems1.13.9
libxml2-pythonAmazon Linux2.9.1-6.amzn2.5.7
libxml2Alpine2.10.3-r0, 2.9.14-r2
xmlsec1-openssl-develAmazon Linux1.2.33-3.amzn2023.0.2
python3-libxml2Amazon Linux2.10.3-2.amzn2023.0.1
xmlsec1-opensslAmazon Linux1.2.33-3.amzn2023.0.2
xmlsec1-develAmazon Linux1.2.33-3.amzn2023.0.2
libxml2conan.io2.10.3
libxml2Amazon Linux2.10.3-2.amzn2023.0.1, 2.9.1-6.amzn2.5.7
xmlsec1Amazon Linux1.2.33-3.amzn2023.0.2

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

Risk scores

CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
5.81%
93.3th percentile

Affected products

VendorProductVersions
netapph410c_firmware
netappclustered_data_ontap
applemacos11.0, 12.0
netapph300s_firmware
xmlsoftlibxml20
netappactive_iq_unified_manager
appleipados0
netapph410s_firmware
netapph500s_firmware
netappsnapmanager
netapph700s_firmware
appleiphone_os0
netappsmi-s_provider
appletvos0
applewatchos0
netappmanageability_software_development_kit
netappclustered_data_ontap_antivirus_connector

Timeline

  • Oct 14, 2022 CVE Published
  • Nov 24, 2022 EPSS Score (30 in total, the first dated here)
  • Dec 13, 2022 VulnCheck KEV Exploitation
  • Dec 16, 2025 PoC Published
  • Mar 17, 2026 Security Advisory (99 in total, the first dated here)
  • Mar 27, 2026 Distribution Patch (76 in total, the first dated here)
  • Jun 17, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-40304
vulnetix vdb fixes CVE-2022-40304

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-40304/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 ›