Skip to main content
HIGH

CVE-2022-40304

CVSS v3

7.8

HIGH

EPSS Score

5.8 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Description

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.

Technical details

Published
2022-11-23

Frequently asked questions

What is CVE-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.

Is CVE-2022-40304 actively exploited?

Active exploitation of CVE-2022-40304 has not been confirmed. Its EPSS score was 5.8% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-40304?

CVE-2022-40304 has a CVSS v3 base score of 7.8 (HIGH severity).

Is CVE-2022-40304 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key