---
id: CVE-2021-3516
title: There's a flaw in libxml2's xmllint in versions before 2.9.11
summary: >-
  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,…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
  - CWE-416
vendor: xmlsoft
product: xmllint
affected:
  - xmllint < 2.9.11
  - debian_linux = 9.0
  - fedora = 33
  - fedora = 34
  - jboss_core_services
  - enterprise_linux = 6.0
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - clustered_data_ontap
  - clustered_data_ontap_antivirus_connector
  - ontap_select_deploy_administration_utility
  - zfs_storage_appliance_kit = 8.8
patched:
  - xmllint 2.9.11
published: '2021-06-01'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T10:17:42.070'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-3516'
references:
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1954225'
    label: secalert@redhat.com
  - url: >-
      https://gitlab.gnome.org/GNOME/libxml2/-/commit/1358d157d0bd83be1dfe356a69213df9fac0b539
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/libxml2/-/issues/230'
    label: secalert@redhat.com
  - url: 'https://lists.debian.org/debian-lts-announce/2021/05/msg00008.html'
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BZOMV5J4PMZAORVT64BKLV6YIZAFDGX6/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QVM4UJ3376I6ZVOYMHBNX4GY3NIV52WV/
    label: secalert@redhat.com
  - url: 'https://security.gentoo.org/glsa/202107-05'
    label: secalert@redhat.com
  - url: 'https://security.netapp.com/advisory/ntap-20210716-0005/'
    label: secalert@redhat.com
  - url: 'https://www.oracle.com/security-alerts/cpujan2022.html'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1954225'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://gitlab.gnome.org/GNOME/libxml2/-/commit/1358d157d0bd83be1dfe356a69213df9fac0b539
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://gitlab.gnome.org/GNOME/libxml2/-/issues/230'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2021/05/msg00008.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BZOMV5J4PMZAORVT64BKLV6YIZAFDGX6/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QVM4UJ3376I6ZVOYMHBNX4GY3NIV52WV/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202107-05'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20210716-0005/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpujan2022.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.0199
epssPercentile: 0.80108
ingestedAt: '2026-10-14T10:25:41.191Z'
---

## Overview

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.

## Affected

- `xmllint < 2.9.11`
- `debian_linux = 9.0`
- `fedora = 33`
- `fedora = 34`
- `jboss_core_services`
- `enterprise_linux = 6.0`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `clustered_data_ontap`
- `clustered_data_ontap_antivirus_connector`
- `ontap_select_deploy_administration_utility`
- `zfs_storage_appliance_kit = 8.8`

## Remediation

Upgrade past the affected range:

- `xmllint 2.9.11`
