Bug 2492950 (CVE-2026-57235) - CVE-2026-57235 nokogiri: rubygem-nokogiri: Nokogiri: Denial of Service via out-of-bounds read
Summary: CVE-2026-57235 nokogiri: rubygem-nokogiri: Nokogiri: Denial of Service via ou...
Keywords:
Status: NEW
Alias: CVE-2026-57235
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-25 15:02 UTC by OSIDB Bzimport
Modified: 2026-06-29 08:39 UTC (History)
25 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-25 15:02:50 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.