Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Vulnerabilities

Advisory High CVE Analysis

Ubuntu USN-9363-1 Fixes Multiple Nokogiri Flaws, Including Denial-of-Service Risks

According to Ubuntu's security notice USN-9363-1, several vulnerabilities in the Nokogiri HTML and XML parser for Ruby have fixed packages available through a standard system update. The notice does not say whether any of the flaws are exploited in the wild.

Vulnerabilities

Key points

  • Ubuntu USN-9363-1 covers five distinct Nokogiri flaws, with one CVE listed twice
  • Impacts described include denial of service, crashes, and possible disclosure of sensitive information
  • Fixed packages are ruby-nokogiri 1.13.1+dfsg-2ubuntu0.1~esm2 and 1.10.7+dfsg1-2ubuntu0.1~esm3
  • Exploitation status and discoverers are not stated in the report

According to Ubuntu's security notice USN-9363-1, several vulnerabilities in the Nokogiri HTML and XML parser for Ruby have been fixed. The advisory lists five distinct issues, with CVE-2022-24836 appearing twice for the same problem.

The flaws, as the notice describes them, include an inefficient regular expression used when detecting HTML document encoding (CVE-2022-24836) and inefficient regular expressions used when tokenizing CSS selectors (CVE-2026-79770). Both could let an attacker drive up resource use and cause denial of service. CVE-2026-57235 involves incorrect bounds checking on node set indexes, which could allow an out-of-bounds read and a crash. CVE-2026-57236 and CVE-2026-57435 are both use-after-free conditions, triggered by setting an invalid document encoding and by replacing an XML attribute's value. Ubuntu says these could lead to crashes or denial of service, and CVE-2026-57236 could also lead to disclosure of sensitive information.

The fixed packages are ruby-nokogiri 1.13.1+dfsg-2ubuntu0.1~esm2 and ruby-nokogiri 1.10.7+dfsg1-2ubuntu0.1~esm3. The advisory says a standard system update applies the necessary changes.

The report does not state whether any of these vulnerabilities are known to be exploited in the wild, and it does not name who discovered them. For full details, see the original USN-9363-1 notice on Ubuntu's security notices page.

What to do

  1. Apply a standard system update to install the fixed ruby-nokogiri packages named in USN-9363-1
  2. Check installed ruby-nokogiri versions on Ubuntu systems against the fixed versions listed in the advisory
  3. Review the original USN-9363-1 notice for full details

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Ubuntu USNubuntu.com

“USN-9363-1: Nokogiri vulnerabilities”

It was discovered that Nokogiri used an inefficient regular expression when detecting the encoding of HTML documents. An attacker could possibly use this issue to cause Nokogiri to consume excessive resources, leading to a denial of service. (CVE-2022-24836) It was discovered that Nokogiri incorrectly checked the bounds of indexes into node sets, leading to an out-of-bounds read. An attacker coul…

Vulnerabilities mentioned