CVE-2026-79770
published high CVSS 4.0 · 8.7Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sparklemotion | — | nokogiri0 to < 1.19.3 (affected · semver) · 1.19.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sparklemotion | nokogiri | 0 to < 1.19.3 (affected · semver)1.19.3 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1333 Inefficient Regular Expression Complexity
References
2- GitHub Security Advisory (GHSA-c4rq-3m3g-8wgx) https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-c4rq-3m3g-8wgx
- VulnCheck Advisory: Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer https://www.vulncheck.com/advisories/nokogiri-before-redos-via-css-selector-tokenizer
Provider assertions
2VulnCheck · cna
Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0b848e2a06a34e22dfcb5c33b5c9c843e4ddf6d6e1c4c0da9c3c655b8a8cdda1
- Ingested
- 23 Sep 2026, 09:33:25 UTC
- Source record
- Official CVE record