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.

PackageEcosystemFixed in
libxml-rubyRubyGems2.9.11
libxml2Ubuntu:Pro:16.04:LTS2.9.3+dfsg1-1ubuntu0.7+esm1
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
xmllintxmlsoft2.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

VendorProductVersions
n/alibxml2libxml2 2.9.11
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
RubyGemslibxml-ruby0
n/alibxml22.9.11
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2libxml2-python0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
archlibxml20
amazon:2libxml2-devel0
amazon:2libxml20
amazon:2libxml2-static0
ConanCenterlibxml20

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›