CVEBrief

Home / libxml2 / libxml2 / CVE-2021-3517

CVE-2021-3517: is it exploited, and which versions of libxml2 are affected and fixed?

CVE-2021-3517 is an out-of-bounds write (memory corruption) vulnerability in libxml2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: nokogiri before 1.11.4 (GitHub advisory GHSA-jw9f-hh49-cvp9). Fixed in 1.11.4 (GitHub advisory GHSA-jw9f-hh49-cvp9). Severity: High (8.6, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:58 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:38 UTC
Affected
nokogiri before 1.11.4
GitHub advisory GHSA-jw9f-hh49-cvp9
Fixed in
1.11.4
GitHub advisory GHSA-jw9f-hh49-cvp9
Severity
High 8.6
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
12.8% in 30 days
higher than 96% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-3517?

There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds read. The most likely impact of this flaw is to application availability, with some potential impact to confidentiality and integrity if an attacker is able to use memory information to further exploit the application.

From the CVE record by redhat, last updated October 14, 2026, 09:49 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
libxml2libxml2 2.9.11

As the CVE record by redhat states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
RubyGemsnokogiri< 1.11.41.11.4GHSA-jw9f-hh49-cvp9

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 28, 2023. Summary: Nokogiri contains libxml Out-of-bounds Write vulnerability.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
xmlsoftlibxml2before 2.9.11application
redhatjboss core servicesall versionsapplication
redhatenterprise linux8.0operating system
fedoraprojectfedora33operating system
fedoraprojectfedora34operating system
debiandebian linux9.0operating system
netappactive iq unified managerall versionsapplication
netappclustered data ontapall versionsapplication
netappclustered data ontap antivirus connectorall versionsapplication
netappe-series santricity os controllerfrom 11.0.0 through 11.70.1application
netappe-series santricity storage managerall versionsapplication
netappe-series santricity web servicesall versionsapplication
netapphci management nodeall versionsapplication
netappmanageability software development kitall versionsapplication
netapponcommand insightall versionsapplication
netapponcommand workflow automationall versionsapplication
netappontap select deploy administration utilityall versionsapplication
netappsantricity unified managerall versionsapplication
netappsnapdriveall versionsapplication
netappsnapmanagerall versionsapplication
netappsolidfireall versionsapplication
netapphci h410c firmwareall versionsoperating system
oraclecommunications cloud native core network function cloud native environment1.10.0application
oracleenterprise manager base platform13.4.0.0application
oracleenterprise manager base platform13.5.0.0application

NVD analysis (status Modified), last modified October 14, 2026, 10:17 UTC.

How severe is CVE-2021-3517?

ScoreVersionVectorSource
High 8.6CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HCISA-ADP
High 8.6CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-3517 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 2, 2025)
EPSS
12.8% probability of exploitation activity in the next 30 days, percentile 96.4 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 27, 2021
Published
May 19, 2021, 13:45 UTC
CVE record updated
October 14, 2026, 09:49 UTC by redhat
NVD
Modified, last modified October 14, 2026, 10:17 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect libxml2?

Every CVE in libxml2

Questions about CVE-2021-3517

Is CVE-2021-3517 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 12.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of libxml2 are affected by CVE-2021-3517?

nokogiri before 1.11.4, per the GitHub advisory GHSA-jw9f-hh49-cvp9. The tables above give every range the sources list.

Which version fixes CVE-2021-3517?

1.11.4, per the GitHub advisory GHSA-jw9f-hh49-cvp9. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-3517?

High (8.6, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2021-3517?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.