Bug 2497304 - CVE-2026-57436 rubygem-nokogiri: Nokogiri: Denial of Service via heap use-after-free [fedora-all]
Summary: CVE-2026-57436 rubygem-nokogiri: Nokogiri: Denial of Service via heap use-aft...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-nokogiri
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["82cf4f50-743c-46b3-956b-1...
Depends On:
Blocks: CVE-2026-57436
TreeView+ depends on / blocked
 
Reported: 2026-07-06 09:21 UTC by Vipul Nair
Modified: 2026-07-06 14:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-07-06 14:10:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2026-07-06 09:21:29 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::Document#root= validated only that the new root was a Nokogiri::XML::Node, allowing a DTD node to be set as the document root. The result is a heap use-after-free during garbage collection or finalization, leading to an invalid memory read or potentially a segfault. This vulnerability is fixed in 1.19.4.

Comment 1 Mamoru TASAKA 2026-07-06 14:10:09 UTC
Fixed in 1.19.4 which is already pushed.


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