high7.5
CVE-2026-79770
Nokogiri versions before 1.19.3 contain regular expression denial of service vulnerabilities in the CSS selector tokenizer affecting string-literal and identif…
Impact
Nokogiri versions before 1.19.3 contain regular expression denial of service vulnerabilities in the CSS selector tokenizer affecting string-literal and identifier tokenization. Attackers can inject adversarial CSS selectors into methods like Node#css, Node#at_css, and Searchable#search to cause exponential regex backtracking and denial of service.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | nokogiri | < 1.19.3 | 1.19.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nokogiri | Nokogiri | before 1.19.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-c4rq-3m3g-8wgx
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-c4rq-3m3g-8wgx
- https://nvd.nist.gov/vuln/detail/CVE-2026-79770
- https://www.vulncheck.com/advisories/nokogiri-before-redos-via-css-selector-tokenizer