Vulnerabilities

Vulnerability · CVE-2022-40304

An issue was discovered in libxml2 before 2.10.3.

Published Nov 23, 2022 · catalog updated Oct 14, 2026 · An issue was discovered

Patch now

CVE-2022-40304 is in the CISA known-exploited catalog. Confirm An issue was discovered against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (An issue was discovered).
  • No version range is stored. A customer cannot check an installed version against this record.
Severity
High7.8
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
5.81%
Remediation
Remediation guidance
Affected products
cpe netapp/active iq unified manager · cpe netapp/clustered data ontap · cpe netapp/clustered data ontap antivirus connector · cpe netapp/h300s firmware · cpe netapp/h410c firmware · cpe netapp/h410s firmware

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe netapp/active iq unified managerversion unspecified
  • cpe netapp/clustered data ontapversion unspecified
  • cpe netapp/clustered data ontap antivirus connectorversion unspecified
  • cpe netapp/h300s firmwareversion unspecified
  • cpe netapp/h410c firmwareversion unspecified
  • cpe netapp/h410s firmwareversion unspecified
  • cpe netapp/h500s firmwareversion unspecified
  • cpe netapp/h700s firmwareversion unspecified
  • cpe netapp/manageability software development kitversion unspecified
  • cpe netapp/smi-s providerversion unspecified
  • cpe netapp/snapmanagerversion unspecified
  • cpe xmlsoft/libxml2version unspecified
  • vendor xmlsoft libxml2version unspecified

How to fix CVE-2022-40304

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2022-40304 is in the CISA known-exploited catalog. Confirm An issue was discovered against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Affected version ranges are not on this record. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

What should an analyst verify?

CWE-415: Double Free. EPSS 5.81%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Nov 23, 2022 · NIST NVD

    Detected

    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.

  2. Dec 13, 2022 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

  3. Oct 14, 2026 · NIST NVD

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2022-40304

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2022-40304

    30-day exploitation probability 5.8%

    first.org
  • NIST NVDVulnerability recordCVE-2022-40304

    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.

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2022-40304

    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.

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.