VDB
CVE-2021-3516
CVE-2021-3516
PUBLISHED
CVSS 7.800000190734863 HIGH
Reported by redhat · Published June 1, 2021
libxml-ruby is fixed in 2.9.11 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libxml-ruby | RubyGems | 2.9.11 |
| libxml2 | Ubuntu:Pro:16.04:LTS | 2.9.3+dfsg1-1ubuntu0.7+esm1 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| xmllint | xmlsoft | 2.9.11 |
Risk scores
CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | libxml2 | libxml2 2.9.11 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| RubyGems | libxml-ruby | 0 |
| n/a | libxml2 | 2.9.11 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2 | libxml2-python | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| arch | libxml2 | 0 |
| amazon:2 | libxml2-devel | 0 |
| amazon:2 | libxml2 | 0 |
| amazon:2 | libxml2-static | 0 |
| ConanCenter | libxml2 | 0 |
Timeline
- Apr 27, 2021 CVE Published
- Jun 2, 2021 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 7, 2026 Distribution Patch (12 in total, the first dated here)
- Mar 7, 2026 Security Advisory (17 in total, the first dated here)
- Jul 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3516
vulnetix vdb fixes CVE-2021-3516
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3516/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2021-e3ed1ba38b vendor-advisoryx_refsource_FEDORA
- [debian-lts-announce] 20210510 [SECURITY] [DLA 2653-1] libxml2 security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- FEDORA-2021-b950000d2b vendor-advisoryx_refsource_FEDORA
- GLSA-202107-05 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2021-3516 advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url