PatchSiren cyber security CVE debrief
CVE-2021-47996 sparklemotion CVE debrief
Nokogiri before 1.11.4, when using the CRuby implementation and the packaged libxml2 version 2.9.10, is vulnerable to multiple issues including memory leak (CVE-2019-20388), global buffer over-read (CVE-2020-24977), heap-based buffer overflow (CVE-2021-3517), and out-of-bounds read (CVE-2021-3518). These vulnerabilities were addressed in libxml2 version 2.9.12. The CVE record was published on 2026-08-25T16:16:42.930Z and has not been modified since then. Users of Nokogiri before version 1.11.4, especially those processing crafted XML documents, should be aware of the potential for denial of service, information disclosure, or memory corruption.
- Vendor
- sparklemotion
- Product
- nokogiri
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-25
- Original CVE updated
- 2026-09-01
- Advisory published
- 2026-08-25
- Advisory updated
- 2026-09-01
Who should care
Users of Nokogiri before version 1.11.4, especially those processing crafted XML documents, should be aware of the potential for denial of service, information disclosure, or memory corruption. Organizations using Nokogiri should prioritize updating to version 1.11.4 or later to address multiple vulnerabilities in the bundled libxml2 library. Security teams and vulnerability management teams should review the affected scope, severity, and vendor guidance to validate affected systems and plan for updates or mitigations.
Technical summary
Nokogiri before 1.11.4, when using the CRuby implementation and the packaged libxml2 version 2.9.10, is vulnerable to multiple issues including memory leak (CVE-2019-20388), global buffer over-read (CVE-2020-24977), heap-based buffer overflow (CVE-2021-3517), and out-of-bounds read (CVE-2021-3518). These vulnerabilities were addressed in libxml2 version 2.9.12. The affected product deployments should be reviewed for potential exposure, and owners should be assigned for follow-up. Security teams should validate affected scope, severity, and vendor guidance to plan for updates or mitigations through normal change control. Users processing crafted XML documents are at risk of denial of service, information disclosure, or memory corruption. Updating to Nokogiri version 1.11.4 or later is recommended to address these vulnerabilities.
Defensive priority
Organizations using Nokogiri should prioritize updating to version 1.11.4 or later to address multiple vulnerabilities in the bundled libxml2 library.
Recommended defensive actions
- Update Nokogiri to version 1.11.4 or later
- Review and apply patches for libxml2 vulnerabilities
- Monitor for crafted XML documents that may lead to denial of service, information disclosure, or memory corruption
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
The Nokogiri package before version 1.11.4, when using the bundled libxml2 version 2.9.10, is affected by several vulnerabilities including a memory leak, global buffer over-read, heap-based buffer overflow, and out-of-bounds read. These issues were addressed in libxml2 version 2.9.12. Organizations using Nokogiri should prioritize updating to version 1.11.4 or later to address multiple vulnerabilities in the bundled libxml2 library.
Sources and references
Verified primary and authoritative sources
-
CVE-2021-47996 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2021-47996
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2021-47996 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2021-47996
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/GNOME/libxml2/commit/0e1a49c8907645d2e155f0d89d4d9895ac5112b5
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/GNOME/libxml2/commit/1098c30a040e72a4654968547f415be4e4c40fe7
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/GNOME/libxml2/commit/1358d157d0bd83be1dfe356a69213df9fac0b539
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/GNOME/libxml2/commit/50f06b3efb638efb0abd95dc62dca05ae67882c2
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/GNOME/libxml2/commit/7ffcd44d7e6c46704f8af0321d9314cd26e0e18a
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/GNOME/libxml2/commit/8598060bacada41a0eb09d95c97744ff4e428f8e
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/GNOME/libxml2/commit/babe75030c7f64a37826bb3342317134568bef61
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/GNOME/libxml2/commit/bf22713507fe1fc3a2c4b525cf0a88c2dc87a3a2
[email protected] - Patch
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.