# CVE-2026-79770: Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-02)
- Published: 2026-05-06T18:24:18.000Z
- Modified: 2026-09-16T15:51:27.061Z
- Also known as: GHSA-c4rq-3m3g-8wgx
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- sparklemotion nokogiri: before 1.19.3 (not affected: 1.19.3)
- nokogiri (RubyGems): before 1.19.3
- nokogiri nokogiri: before 1.19.3

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-c4rq-3m3g-8wgx> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nokogiri-before-redos-via-css-selector-tokenizer> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-79770> (advisory)
- <https://github.com/sparklemotion/nokogiri> (package)

## Sources

- CVE List: [CVE-2026-79770](https://www.cve.org/CVERecord?id=CVE-2026-79770), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-c4rq-3m3g-8wgx](https://github.com/advisories/GHSA-c4rq-3m3g-8wgx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-79770](https://nvd.nist.gov/vuln/detail/CVE-2026-79770), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-79770 · Whole record: https://cve.day/CVE-2026-79770.json · Rebuilt by cve.day 2026-11-25T22:59:35.174Z
