2

CVE-2026-126064: Nokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Node#[]=` or `#lang=`

Awaiting analysis
AliasesGHSA-3w22-6jfg-527wCGA-5889-48xq-jcxhCGA-83j8-4qg8-226q
Published 10-11-2026Last modified 10-11-2026

Vulnerability summary

CVE-2026-126064 is a low (CVSS 2.0) Use After Free vulnerability in sparklemotion nokogiri. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.0/10
010
Low · v4.0 (CVE.org)
EPSS score
0.15%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 10-11-2026
    PublishedVulnerability first disclosed.
  2. 10-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

11-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard38 products
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
  • gitlab-rails-ce-18.10All versions (No fix recorded)
  • gitlab-rails-ce-18.8All versions (No fix recorded)
  • gitlab-rails-ce-18.9All versions (No fix recorded)
Wolfi5 products
  • logstash-9.3All versions (No fix recorded)
  • logstash-9.3-iamguarded-compatAll versions (No fix recorded)
  • logstash-9.4All versions (No fix recorded) | < 9.4.9-r1
  • logstash-9.4-iamguarded-compatAll versions (No fix recorded) | < 9.4.9-r1
  • ruby3.4-kube-logging-operator-fluentd-outputsAll versions (No fix recorded) | < 6.9.0-r13
Alpine1 product
  • ruby-nokogiri< 1.19.7-r0
Debian1 product
  • ruby-nokogiriAll versions (No fix recorded) | < 1.19.7+dfsg-1
RubyGems1 product
  • nokogiri< 1.19.5
Sparklemotion1 product
Ubuntu1 product
  • ruby-nokogiriAll versions (No fix recorded)

7 vendors · 48 products

References

13 links
Show all 13 references