# CVE-2021-3516: There's a flaw in libxml2's xmllint in versions before 2.9.11.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.04%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-01T13:38:13.000Z
- Modified: 2026-10-14T10:17:42.070Z
- Weaknesses: CWE-416
- Assigned by: redhat

## Description

There's a flaw in libxml2's xmllint in versions before 2.9.11. 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.

(As written by CVE List.)

## Affected

- libxml2: libxml2 2.9.11
- xmlsoft xmllint: before 2.9.11
- debian debian_linux: 9.0
- fedoraproject fedora: 33; 34
- redhat jboss_core_services: no versions given
- redhat enterprise_linux: 6.0; 7.0; 8.0
- netapp clustered_data_ontap: no versions given
- netapp clustered_data_ontap_antivirus_connector: no versions given
- netapp ontap_select_deploy_administration_utility: no versions given
- oracle zfs_storage_appliance_kit: 8.8

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://gitlab.gnome.org/GNOME/libxml2/-/issues/230> (exploit, issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QVM4UJ3376I6ZVOYMHBNX4GY3NIV52WV/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/05/msg00008.html> (mailing-list, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1954225> (issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BZOMV5J4PMZAORVT64BKLV6YIZAFDGX6/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202107-05> (third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/1358d157d0bd83be1dfe356a69213df9fac0b539> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210716-0005/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-3516](https://www.cve.org/CVERecord?id=CVE-2021-3516), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-3516](https://nvd.nist.gov/vuln/detail/CVE-2021-3516), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-3516 · Whole record: https://cve.day/CVE-2021-3516.json · Rebuilt by cve.day 2026-11-25T22:58:01.609Z
