Debian Package Tracker
Register | Log in
Subscribe

ruby-nokogiri

HTML, XML, SAX, and Reader parser for Ruby

Choose email to subscribe with

general
  • source: ruby-nokogiri (main)
  • version: 1.19.4+dfsg-1
  • maintainer: Debian Ruby Team (archive) (DMD)
  • uploaders: Lucas Nussbaum [DMD] – Cédric Boutillier [DMD] – Pirate Praveen [DMD] – Georg Faerber [DMD]
  • arch: any
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 1.11.1+dfsg-2
  • o-o-sec: 1.11.1+dfsg-2+deb11u1
  • oldstable: 1.13.10+dfsg-2
  • stable: 1.18.2+dfsg-1
  • testing: 1.19.4+dfsg-1
  • unstable: 1.19.4+dfsg-1
versioned links
  • 1.11.1+dfsg-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.11.1+dfsg-2+deb11u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.13.10+dfsg-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.18.2+dfsg-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.19.4+dfsg-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • ruby-nokogiri (1 bugs: 0, 1, 0, 0)
action needed
8 low-priority security issues in trixie low

There are 8 open security issues in trixie.

8 issues left for the package maintainer to handle:
  • CVE-2026-57234: (needs triaging) Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, the NONET parse option, which Nokogiri turns on by default for Nokogiri::XML::Schema (see CVE-2020-26247), was not correctly enforced on the JRuby implementation. As a result, a schema parsed with default options could still cause external resources to be fetched over the network, potentially enabling SSRF or XXE attacks. This vulnerability is fixed in 1.19.4.
  • CVE-2026-57235: (needs triaging) 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.
  • CVE-2026-57236: (needs triaging) 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.
  • CVE-2026-57434: (needs triaging) Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri contains a bug when calling certain methods on allocated-but-uninitialized native wrapper classes that inherit from Nokogiri::XML::Node. This caused a NULL pointer dereference that could crash the process. This vulnerability is fixed in 1.19.4.
  • CVE-2026-57435: (needs triaging) Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri’s CRuby native extension could leave a Ruby wrapper pointing to freed memory when replacing the value of an XML attribute. If Ruby code had already accessed an attribute child node, Nokogiri::XML::Attr#value= could free the underlying native child node while the wrapper remained reachable through the document node cache. A later use of the freed child node or a Ruby GC mark could dereference an invalid pointer, causing an invalid read and a possible segfault. This vulnerability is fixed in 1.19.4.
  • CVE-2026-57436: (needs triaging) 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.
  • CVE-2026-57437: (needs triaging) Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source document alive for garbage collection. If an XPathContext outlived its document and the document was collected, evaluating an XPath expression could read invalid memory and potentially segfault. This is only reachable when application code constructs an XPathContext directly and lets the document become unreachable while continuing to use the context. The normal Document#xpath, #css, and related search methods are not affected, and it is not triggerable by malicious document input. This vulnerability is fixed in 1.19.4.
  • CVE-2026-57438: (needs triaging) Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, XInclude substitution performed by Nokogiri::XML::Node#do_xinclude replaced each <xi:include> in place, freeing the include node along with its children (such as <xi:fallback> and its descendants) and any namespaces declared on them. If an application had already exposed one of those nodes or namespaces to Ruby, the corresponding Ruby object was left pointing at freed memory. Using the object could result in invalid reads or writes to memory. This vulnerability is fixed in 1.19.4.

You can find information about how to handle these issues in the security team's documentation.

Created: 2026-06-26 Last update: 2026-07-13 04:31
7 low-priority security issues in bookworm low

There are 7 open security issues in bookworm.

7 issues left for the package maintainer to handle:
  • CVE-2026-57235: (postponed; to be fixed through a stable update) 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.
  • CVE-2026-57236: (postponed; to be fixed through a stable update) 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.
  • CVE-2026-57434: (postponed; to be fixed through a stable update) Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri contains a bug when calling certain methods on allocated-but-uninitialized native wrapper classes that inherit from Nokogiri::XML::Node. This caused a NULL pointer dereference that could crash the process. This vulnerability is fixed in 1.19.4.
  • CVE-2026-57435: (postponed; to be fixed through a stable update) Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri’s CRuby native extension could leave a Ruby wrapper pointing to freed memory when replacing the value of an XML attribute. If Ruby code had already accessed an attribute child node, Nokogiri::XML::Attr#value= could free the underlying native child node while the wrapper remained reachable through the document node cache. A later use of the freed child node or a Ruby GC mark could dereference an invalid pointer, causing an invalid read and a possible segfault. This vulnerability is fixed in 1.19.4.
  • CVE-2026-57436: (postponed; to be fixed through a stable update) 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.
  • CVE-2026-57437: (postponed; to be fixed through a stable update) Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source document alive for garbage collection. If an XPathContext outlived its document and the document was collected, evaluating an XPath expression could read invalid memory and potentially segfault. This is only reachable when application code constructs an XPathContext directly and lets the document become unreachable while continuing to use the context. The normal Document#xpath, #css, and related search methods are not affected, and it is not triggerable by malicious document input. This vulnerability is fixed in 1.19.4.
  • CVE-2026-57438: (postponed; to be fixed through a stable update) Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, XInclude substitution performed by Nokogiri::XML::Node#do_xinclude replaced each <xi:include> in place, freeing the include node along with its children (such as <xi:fallback> and its descendants) and any namespaces declared on them. If an application had already exposed one of those nodes or namespaces to Ruby, the corresponding Ruby object was left pointing at freed memory. Using the object could result in invalid reads or writes to memory. This vulnerability is fixed in 1.19.4.

You can find information about how to handle these issues in the security team's documentation.

Created: 2026-06-26 Last update: 2026-07-13 04:31
debian/patches: 4 patches to forward upstream low

Among the 6 debian patches available in version 1.19.4+dfsg-1 of the package, we noticed the following issues:

  • 4 patches where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2026-06-29 10:49
news
[rss feed]
  • [2026-07-03] ruby-nokogiri 1.19.4+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2026-06-29] Accepted ruby-nokogiri 1.19.4+dfsg-1 (source) into unstable (Simon Quigley)
  • [2026-06-17] Accepted ruby-nokogiri 1.19.3+dfsg-1 (source) into unstable (Simon Quigley)
  • [2026-03-29] ruby-nokogiri 1.19.1+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2026-02-26] Accepted ruby-nokogiri 1.19.1+dfsg-1 (source) into unstable (Simon Quigley)
  • [2026-02-26] ruby-nokogiri 1.18.10+dfsg-3 MIGRATED to testing (Debian testing watch)
  • [2026-02-15] Accepted ruby-nokogiri 1.18.10+dfsg-3 (source) into unstable (Simon Quigley)
  • [2025-12-30] ruby-nokogiri 1.18.10+dfsg-2 MIGRATED to testing (Debian testing watch)
  • [2025-12-26] Accepted ruby-nokogiri 1.18.10+dfsg-2 (source) into unstable (Antonio Terceiro)
  • [2025-09-29] ruby-nokogiri 1.18.10+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-25] Accepted ruby-nokogiri 1.18.10+dfsg-1 (source) into unstable (Cédric Boutillier)
  • [2025-02-08] ruby-nokogiri 1.18.2+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2025-01-30] Accepted ruby-nokogiri 1.18.2+dfsg-1 (source) into unstable (Cédric Boutillier)
  • [2024-12-16] Accepted ruby-nokogiri 1.17.2+dfsg-1~exp1 (source) into experimental (Cédric Boutillier)
  • [2024-09-03] Accepted ruby-nokogiri 1.11.1+dfsg-2+deb11u1 (source) into oldstable-security (Sean Whitton)
  • [2024-05-10] ruby-nokogiri 1.16.4+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2024-05-06] Accepted ruby-nokogiri 1.16.4+dfsg-1 (source) into unstable (Lucas Nussbaum)
  • [2024-04-29] ruby-nokogiri 1.16.2+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2024-03-03] Accepted ruby-nokogiri 1.16.2+dfsg-1 (source) into unstable (Lucas Nussbaum)
  • [2024-02-13] ruby-nokogiri 1.16.0+dfsg-2 MIGRATED to testing (Debian testing watch)
  • [2024-02-09] Accepted ruby-nokogiri 1.16.0+dfsg-2 (source) into unstable (Lucas Kanashiro)
  • [2024-01-22] Accepted ruby-nokogiri 1.16.0+dfsg-1 (source) into unstable (Pirate Praveen) (signed by: Praveen Arimbrathodiyil)
  • [2023-09-03] ruby-nokogiri 1.15.4+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2023-08-26] Accepted ruby-nokogiri 1.15.4+dfsg-1 (source) into unstable (Lucas Nussbaum)
  • [2023-07-05] ruby-nokogiri 1.14.3+dfsg-2 MIGRATED to testing (Debian testing watch)
  • [2023-06-11] Accepted ruby-nokogiri 1.14.3+dfsg-2 (source) into unstable (Pirate Praveen) (signed by: Praveen Arimbrathodiyil)
  • [2023-05-01] Accepted ruby-nokogiri 1.14.3+dfsg-1 (source) into experimental (Pirate Praveen) (signed by: Praveen Arimbrathodiyil)
  • [2023-04-03] Accepted ruby-nokogiri 1.14.2+dfsg-1 (source) into experimental (Pirate Praveen) (signed by: Praveen Arimbrathodiyil)
  • [2023-02-10] Accepted ruby-nokogiri 1.13.5+dfsg-2~bpo11+1 (source amd64) into bullseye-backports (Utkarsh Gupta)
  • [2023-02-09] Accepted ruby-nokogiri 1.13.1+dfsg-2~bpo11+1 (source amd64) into bullseye-backports (Debian FTP Masters) (signed by: Utkarsh Gupta)
  • 1
  • 2
bugs [bug history graph]
  • all: 2
  • RC: 0
  • I&N: 2
  • M&W: 0
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 1.19.3+dfsg-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing