Bug 2492952 (CVE-2026-57236) - CVE-2026-57236 nokogiri: Nokogiri: Denial of Service or Information Disclosure via invalid encoding handling
Summary: CVE-2026-57236 nokogiri: Nokogiri: Denial of Service or Information Disclosur...
Keywords:
Status: NEW
Alias: CVE-2026-57236
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:03 UTC by OSIDB Bzimport
Modified: 2026-08-04 16:07 UTC (History)
14 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:50222 0 None None None 2026-08-04 15:57:05 UTC
Red Hat Product Errata RHSA-2026:50223 0 None None None 2026-08-04 15:59:23 UTC
Red Hat Product Errata RHSA-2026:50263 0 None None None 2026-08-04 16:07:52 UTC

Description OSIDB Bzimport 2026-06-25 15:03:01 UTC
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, calling Document#encoding= with an invalid encoding (e.g., a non-string, or a string containing a null byte) raises an exception, but only after freeing the document's current encoding string without replacing it. The document is left referencing freed memory, so the next call to Document#encoding reads invalid memory, which can cause a segfault or leak freed bytes into a Ruby String. Affects the CRuby (libxml2) implementation only; JRuby is not affected. This vulnerability is fixed in 1.19.4.

Comment 3 errata-xmlrpc 2026-08-04 15:57:04 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.17 for RHEL 9

Via RHSA-2026:50222 https://access.redhat.com/errata/RHSA-2026:50222

Comment 4 errata-xmlrpc 2026-08-04 15:59:21 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.16 for RHEL 8
  Red Hat Satellite 6.16 for RHEL 9

Via RHSA-2026:50223 https://access.redhat.com/errata/RHSA-2026:50223

Comment 5 errata-xmlrpc 2026-08-04 16:07:50 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.18 for RHEL 9

Via RHSA-2026:50263 https://access.redhat.com/errata/RHSA-2026:50263


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