Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. libxml2.vc140_xp.mt.static.x86
  4. ›
  5. CVE-2022-40304

CVE-2022-40304: Improper Restriction of XML External Entity Reference

November 23, 2022 (updated November 7, 2023)

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.

References

  • gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b
  • gitlab.gnome.org/GNOME/libxml2/-/tags
  • gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3
  • nvd.nist.gov/vuln/detail/CVE-2022-40304

Code Behaviors & Features

Detect and mitigate CVE-2022-40304 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.10.3

Solution

Unfortunately, there is no solution available yet.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-415: Double Free

Source file

nuget/libxml2.vc140_xp.mt.static.x86/CVE-2022-40304.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:29 +0000.