Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-126064

nokogiri: nokogiri: Denial of Service via use-after-free when replacing attribute values

Overview

Published
10 Nov 2026
Modified
12 Nov 2026
Low CVE
1 Registry packages
12 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

2.5 · LOW

CVSS 3.1 base score, scored by redhat.

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

Weakness: CWE-416

Affected packages · 1

Packages affected by CVE-2026-126064
EcosystemPackageVulnerableFixed in
RubyGems nokogiri <1.19.5 1.19.5

Open a package to see all its vulnerabilities.

Operating systems · 17 fixes

chainguard 1 release · 10 packages

not affected 1 fixed 9
logstash-8-19 pact-broker-docker pact-broker-docker-fips pghero kube-logging-operator ruby3-4-rails-7-2 +4
chainguard fixes for CVE-2026-126064
ReleasePackageFixed in
logstash-8-19 not affected
pact-broker-docker 2.142.0.2.120.0-r4
pact-broker-docker-fips 2.142.0.2.120.0-r5
pghero +1 3.8.0-r13
kube-logging-operator 6.9.0-r13
ruby3-4-rails-7-2 7.2.4-r2

4 more rows

debian 4 releases · 1 package

affected 4
ruby-nokogiri
debian fixes for CVE-2026-126064
ReleasePackageFixed in
11 ruby-nokogiri affected
12 ruby-nokogiri affected
13 ruby-nokogiri affected
14 ruby-nokogiri affected

echo 1 release · 1 package

affected 1
ruby-nokogiri
echo fixes for CVE-2026-126064
ReleasePackageFixed in
ruby-nokogiri affected

wolfi 1 release · 2 packages

fixed 2
kube-logging-operator logstash-9-4
wolfi fixes for CVE-2026-126064
ReleasePackageFixed in
kube-logging-operator 6.9.0-r13
logstash-9-4 9.4.9-r1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.