CVE-2026-57235Patch(nokogiri / nokogiri)

LOWCVSS 8.2 · HIGH

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch nokogiri nokogiri systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::NodeSet#[] (and its alias #slice) checked the requested index against the node set's bounds using a 32-bit-truncated copy of the index. A large negative index could pass the check and then be used at full width, reading outside the node set's storage. On CRuby this is an out-of-bounds read that typically crashes the process; on JRuby it is not memory-unsafe but returns an incorrect node. This vulnerability is fixed in 1.19.4.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-125CWE-190

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • nokogiri

Threat summary

  • Patch or workaround signal is available
  • 1 mentions across 1 observed day

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 1 signal
  • 1 total mentions across 1 day

Affected systems

Vendors
Products
nokogiri

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-06-27: 1Patch / Workaround · 2026-06-27: 1Technical Details · 2026-06-27: 106-27
Signal classification1 categories
Patch
1100.0%
Full discourse1 post
  • Mohi@disismohi
    Patch

    Nokogiri (Ruby's XML/HTML parser) just patched CVE-2026-57235: integer truncation in NodeSet indexing. If you're running Rails or any Ruby app that parses XML, here's what to check Saturday.

    Post summary

    The tweet announces that Nokogiri has patched CVE‑2026‑57235, an integer truncation flaw in NodeSet indexing, for Ruby applications parsing XML.

    1000053
    67 followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appnokogirinokogiri-ruby-

Explore more