CVE-2022-40304
7.8
HIGH
CVSS 3.1
EPSS 6.8%
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.
How to fix CVE-2022-40304
To remediate CVE-2022-40304, upgrade the affected package to a fixed version below.
- Alpine/libxml2—upgrade to 2.9.14-r2 or later
- Debian/libxml2—upgrade to 2.9.10+dfsg-6.7+deb11u3 or later
Is CVE-2022-40304 being exploited?
Moderate — EPSS is 6.8%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (2)
- from 0, < 2.9.14-r2
- from 0, < 2.9.10+dfsg-6.7+deb11u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |