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 could
possibly use this issue to cause Nokogiri to crash, resulting in a denial
of service. (CVE-2026-57235)
It was discovered that Nokogiri incorrectly handled setting an invalid
document encoding, leading to a use-after-free. An attacker could possibly
use this issue to cause Nokogiri to crash, resulting in a denial of
service, or obtain sensitive information. (CVE-2026-57236)
It was discovered that Nokogiri incorrectly handled replacing the value of
an XML attribute, leading to a use-after-free. An attacker could possibly
use this issue to cause Nokogiri to crash, resulting in a denial of
service. (CVE-2026-57435)
It was discovered that Nokogiri used inefficient regular expressions when
tokenizing CSS selectors. An attacker could possibly use this issue to
cause Nokogiri to consume excessive resources, leading to a denial of
service. (CVE-2026-79770)