CVE-2026-126064
Last modified
CVE-2026-126064 is a low-severity vulnerability rated 2/10 on the CVSS scale. Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.5, the CRuby native extension can leave Ruby wrappers pointing to freed memory when Nokogiri::XML::Node#[]= or Nokogiri::XML::Node#lang= replaces an existing attribute value after code has accessed the attribute's child nodes. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.5, the CRuby native extension can leave Ruby wrappers pointing to freed memory when Nokogiri::XML::Node#[]= or Nokogiri::XML::Node#lang= replaces an existing attribute value after code has accessed the attribute's child nodes. Replacing the value frees native child nodes while their wrappers remain reachable, and later use of those wrappers can cause an invalid read or process segfault. JRuby is not affected. This issue is fixed in version 1.19.5.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| sparklemotion | nokogiri | < 1.19.5 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126064?
How severe is CVE-2026-126064?
How do I fix CVE-2026-126064?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126050apitrace 2.0 through 14.0 contains a heap-based buffer overf…7.8
- CVE-2026-126051A deferred-callback use-after-destroy in Node.js TLS server …7.5
- CVE-2026-12606Eclipse Grizzly in versions before 5.0.2, cannot properly pa…5.3
- CVE-2026-126061Winter CMS is a content management system built on the Larav…4.3
- CVE-2026-126062Nokogiri is an open source XML and HTML library for the Ruby…3.7
- CVE-2026-126063Nokogiri is an open source XML and HTML library for the Ruby…2.3
- CVE-2026-126065OpenObserve is a cloud-native observability platform. Prior …9.8
- CVE-2026-126066fast-xml-parser allows users to process XML from JS object w…3.7
- CVE-2026-126067Action Pack is a framework for handling and responding to we…3.1
- CVE-2026-126068Action Mailbox routes incoming emails to controller-like mai…3.7
- CVE-2026-126069Action View is a framework for handling view template lookup…4.7
- CVE-2026-126070Action View is a framework for handling view template lookup…6.1
Are you affected by CVE-2026-126064?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
