Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. libxml2
  4. ›
  5. CVE-2021-3516

CVE-2021-3516: Use After Free

June 1, 2021 (updated November 7, 2023)

There’s a flaw in libxml2’s xmllint An attacker who is able to submit a crafted file to be processed by xmllint could trigger a use-after-free. The greatest impact of this flaw is to confidentiality, integrity, and availability.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1954225
  • gitlab.gnome.org/GNOME/libxml2/-/issues/230
  • nvd.nist.gov/vuln/detail/CVE-2021-3516

Code Behaviors & Features

Detect and mitigate CVE-2021-3516 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.9.11

Fixed versions

  • 2.9.12

Solution

Upgrade to version 2.9.12 or above.

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-416: Use After Free

Source file

conan/libxml2/CVE-2021-3516.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:48 +0000.