{"id":"CVE-2026-79770","published":"2026-08-25T15:16:03Z","modified":"2026-09-16T15:51:27Z","title":"Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer","vendor":"sparklemotion","product":"nokogiri","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00493,"percentile":0.4327,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-c4rq-3m3g-8wgx","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nokogiri-before-redos-via-css-selector-tokenizer","tags":["third-party-advisory"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.65},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"sparklemotion","affectedVersions":[{"vendor":"sparklemotion","product":"nokogiri","versions":["< 1.19.3"]}],"fixedVersions":[{"vendor":"sparklemotion","product":"nokogiri","versions":["1.19.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-25T16:10:25.348193Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"nokogiri","vulnerableRanges":["<1.19.3"],"patched":["1.19.3"],"from":["GHSA-c4rq-3m3g-8wgx"],"provenance":"source"}],"summary":{"text":"Nokogiri versions before 1.19.3 contain regular expression denial of service flaws in the CSS selector tokenizer, which handles string-literal and identifier tokenization. The flaw is exposed through methods such as Node#css, Node#at_css, and Searchable#search, where crafted CSS selectors can trigger exponential regex backtracking, so an attacker who can supply selector input over the network without authentication or user interaction can cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:33Z"},"euvd":{"id":"EUVD-2026-65528","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-29181","published":"2022-05-20","fixed":"1.13.6","kev":false},{"cve":"CVE-2022-23476","published":"2022-12-08","fixed":"1.13.10","kev":false},{"cve":"CVE-2026-79772","published":"2026-08-25","fixed":"1.19.1","kev":false,"link":{"from":"CVE-2026-79772","to":"CVE-2026-79770","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.19.1","toFixed":"1.19.3","daysApart":0}]}},{"cve":"CVE-2026-79770","published":"2026-08-25","fixed":"1.19.3","kev":false},{"cve":"CVE-2026-79771","published":"2026-08-25","fixed":"1.19.3","kev":false},{"cve":"CVE-2026-126062","published":"2026-11-10","fixed":"1.19.5","kev":false,"link":{"from":"CVE-2026-79770","to":"CVE-2026-126062","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.19.3","toFixed":"1.19.5","daysApart":77}]}},{"cve":"CVE-2026-126063","published":"2026-11-10","fixed":"1.19.5","kev":false,"link":{"from":"CVE-2026-79770","to":"CVE-2026-126063","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.19.3","toFixed":"1.19.5","daysApart":77}]}},{"cve":"CVE-2026-126064","published":"2026-11-10","fixed":"1.19.5","kev":false,"link":{"from":"CVE-2026-79770","to":"CVE-2026-126064","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.19.3","toFixed":"1.19.5","daysApart":77}]}}],"package":"RubyGems:nokogiri"}}