VDB

CVE-2021-3518

CVE-2021-3518 PUBLISHED CVSS 8.800000190734863 HIGH

Nokogiri Implements libxml2 version vulnerable to use-after-free

Reported by redhat · Published May 18, 2021

nokogiri is fixed in 1.11.4 (RubyGems)

There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from 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
nokogiriRubyGems1.11.4
libxml2.vc140_xp.mt.static.x86NuGet2.9.11
libxml2-staticAmazon Linux2.9.1-6.amzn2.5.4
libxml2-pythonAmazon Linux2.9.1-6.amzn2.5.4
libxml2-develAmazon Linux2.9.1-6.amzn2.5.4
libxml2Arch Linux2.9.11-1
libxml2conan.io2.9.11
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
libxml2Ubuntu:Pro:16.04:LTS2.9.3+dfsg1-1ubuntu0.7+esm1
libxml2xmlsoft2.9.11
mysql_workbenchoracle8.0.26

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/alibxml2libxml2 2.9.11
amazon:2libxml2-static0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2libxml2-python0
amazon:2libxml2-devel0
archlibxml20
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
n/alibxml22.9.11
NuGetlibxml20
RubyGemsnokogiri0
amazon:2libxml20
NuGetlibxml2.vc140_xp.mt.static.x860
alpinelibxml20, 0, 0
ConanCenterlibxml20

Timeline

  • Apr 27, 2021 CVE Published
  • May 19, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 7, 2023 CVE Updated
  • 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-3518
vulnetix vdb fixes CVE-2021-3518

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-3518/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 5 more

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