CVE Catalog

CVE-2022-40304

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
5.81%

93th percentile - higher than 93% of all known CVEs

Summary

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.

Risk Assessment

A double-free can lead to memory corruption, application crashes, or potentially arbitrary code execution in the context of the process parsing malicious XML.

Recommendation

Update libxml2 to version 2.10.3 or later to eliminate the vulnerability.

Other vulnerabilities in libxml2

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS