Ruby nokogiri: Prior to 1.19.5, the CRuby native extension can leave Ruby wrappers pointing to freed memory when
Affects ruby-nokogiriSource GCVE Database
Not known to be exploited · CVSS 2.0 Low · fixed in 1.19.5 : update ruby-nokogiri when convenient.
Data as of 13 Nov 2026, 22:32 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 2.0 |
|---|
- Patch
- Available – fixed in 1.19.5
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Nokogiri to version 1.19.5 or later, where this issue is fixed. No other mitigation is indicated or required.
Description
Nokogiri, a Ruby XML and HTML library, has a vulnerability in its CRuby native extension prior to version 1.19.5. When replacing an existing attribute value after accessing child nodes, Ruby wrappers may point to freed memory, potentially causing invalid reads or process crashes. JRuby is not affected. The issue is fixed in version 1.19.5.
References
- ubuntu.com/security/CVE-2026-126064 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-126064 (opens in a new tab)
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-3w22-6jfg-527w (opens in a new tab)
- github.com/sparklemotion/nokogiri/commit/b15b518db9fd15fd6b046f73d1439c282e5cc425 (opens in a new tab)
- github.com/sparklemotion/nokogiri/commit/feaed3c8c9bd9d81d064d4ca09b16044cd705d6f (opens in a new tab)
- github.com/sparklemotion/nokogiri/pull/3752 (opens in a new tab)
- github.com/sparklemotion/nokogiri/releases/tag/v1.19.5 (opens in a new tab)