CVE-2021-3516
Summary
| CVE | CVE-2021-3516 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-06-01 14:15:10 UTC |
| Updated | 2026-10-14 10:17:42 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Problem Types: CWE-416 | CWE-416 CWE-416
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Fedoraproject | Fedora | 33 | All | All | All |
| Operating System | Fedoraproject | Fedora | 34 | All | All | All |
| Application | Netapp | Clustered Data Ontap | - | All | All | All |
| Application | Netapp | Clustered Data Ontap Antivirus Connector | - | All | All | All |
| Application | Netapp | Ontap Select Deploy Administration Utility | - | All | All | All |
| Application | Oracle | Zfs Storage Appliance Kit | 8.8 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 6.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 8.0 | All | All | All |
| Application | Redhat | Jboss Core Services | - | All | All | All |
| Application | Xmlsoft | Xmllint | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Libxml2 | affected libxml2 2.9.11 | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| [SECURITY] Fedora 33 Update: libxml2-2.9.12-4.fc33 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| Fix use-after-free with `xmllint --html --push` (1358d157) · Commits · GNOME / libxml2 · GitLab | af854a3a-2127-422b-91ae-364da2661108 | gitlab.gnome.org | Patch, Third Party Advisory |
| heap-use-after-free in entities.c:621 (#230) · Issues · GNOME / libxml2 · GitLab | af854a3a-2127-422b-91ae-364da2661108 | gitlab.gnome.org | Exploit, Issue Tracking, Third Party Advisory |
| [SECURITY] [DLA 2653-1] libxml2 security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| libxml2: Multiple vulnerabilities (GLSA 202107-05) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| CVE-2021-3516 Libxml2 Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| 1954225 – (CVE-2021-3516) CVE-2021-3516 libxml2: use-after-free in xmlEncodeEntitiesInternal() in entities.c | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking, Third Party Advisory |
| Oracle Critical Patch Update Advisory - January 2022 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| [SECURITY] Fedora 34 Update: libxml2-2.9.10-12.fc34 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 33 Update: libxml2-2.9.12-4.fc33 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| [SECURITY] Fedora 34 Update: libxml2-2.9.10-12.fc34 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 159285 Oracle Enterprise Linux Security Update for libxml2 (ELSA-2021-2569)
- 174990 SUSE Enterprise Linux Security Update for libxml2 (SUSE-SU-2021:1523-1)
- 174991 SUSE Enterprise Linux Security Update for libxml2 (SUSE-SU-2021:1524-1)
- 178586 Debian Security Update for libxml2 (DLA 2653-1)
- 180347 Debian Security Update for libxml2 (CVE-2021-3516)
- 198409 Ubuntu Security Notification for libxml2 vulnerabilities (USN-4991-1)
- 239468 Red Hat Update for libxml2 (RHSA-2021:2569)
- 240235 Red Hat Update for JBoss Core Services (RHSA-2022:1389)
- 281180 Fedora Security Update for libxml2 (FEDORA-2021-e3ed1ba38b)
- 281707 Fedora Security Update for libxml2 (FEDORA-2021-b950000d2b)
- 296065 Oracle Solaris 11.4 Support Repository Update (SRU) 39.107.1 Missing (CPUOCT2021)
- 352459 Amazon Linux Security Advisory for libxml2: ALAS2-2021-1677
- 354638 Amazon Linux Security Advisory for libxml2 : AL2012-2022-370
- 354929 Amazon Linux Security Advisory for libxml2 : ALAS-2023-1743
- 376952 NetApp Clustered Data Open Network Technology for Appliance Products (ONTAP) Disclosure of Sensitive Information Vulnerability (NTAP-20210625-0002,NTAP-20210716-0005)
- 377408 Alibaba Cloud Linux Security Update for libxml2 (ALINUX3-SA-2021:0047)
- 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
- 670491 EulerOS Security Update for libxml2 (EulerOS-SA-2021-2249)
- 670517 EulerOS Security Update for libxml2 (EulerOS-SA-2021-2275)
- 670548 EulerOS Security Update for libxml2 (EulerOS-SA-2021-2306)
- 670648 EulerOS Security Update for libxml2 (EulerOS-SA-2021-2406)
- 670750 EulerOS Security Update for libxml2 (EulerOS-SA-2021-2508)
- 670851 EulerOS Security Update for libxml2 (EulerOS-SA-2021-2406)
- 670996 EulerOS Security Update for libxml2 (EulerOS-SA-2021-2595)
- 710071 Gentoo Linux libxml2 Multiple vulnerabilities (GLSA 202107-05)
- 750025 SUSE Enterprise Linux Security Update for libxml2 (SUSE-SU-2021:1654-1)
- 750027 SUSE Enterprise Linux Security Update for libxml2 (SUSE-SU-2021:1658-1)
- 750201 OpenSUSE Security Update for libxml2 (openSUSE-SU-2021:0764-1)
- 750222 OpenSUSE Security Update for libxml2 (openSUSE-SU-2021:0692-1)
- 940375 AlmaLinux Security Update for libxml2 (ALSA-2021:2569)
- 960016 Rocky Linux Security Update for libxml2 (RLSA-2021:2569)