Skip to main content
EPSS 0.5%top 60%

CVE-2026-79770: Inefficient Regular Expression Complexity in sparklemotion nokogiri

0
High
VulnerabilityCVE-2026-79770cvecve-2026-79770
Published: 08/25/2026 (08/25/2026, 15:16:03 UTC)
Source: CVE Database V5
Vendor/Project: sparklemotion
Product: nokogiri

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

sparklemotion

nokogiri

Affected versions
>=0 <1.19.3

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 23:43:56 UTC

Technical Analysis

CVE-2026-79770 describes a ReDoS vulnerability in the Nokogiri library's CSS selector tokenizer affecting versions prior to 1.19.3. The flaw lies in inefficient regular expression handling during string-literal and identifier tokenization. Attackers can exploit this by injecting adversarial CSS selectors into Nokogiri methods that process CSS selectors, triggering exponential backtracking in regex evaluation and causing denial of service conditions.

Potential Impact

Successful exploitation results in denial of service by causing the Nokogiri process to consume excessive CPU resources due to exponential regex backtracking. This can disrupt applications relying on Nokogiri for CSS selector parsing, potentially leading to service unavailability.

Mitigation Recommendations

Upgrade Nokogiri to version 1.19.3 or later, where this vulnerability has been addressed. Patch status is confirmed by the affectedVersions data indicating versions before 1.19.3 are vulnerable. No other mitigation is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-25T14:29:43.528Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a8dba55acd9273b4965b682

Added to database: 08/25/2026, 15:52:53 UTC

Last enriched: 09/17/2026, 23:43:56 UTC

Last updated: 10/09/2026, 06:48:19 UTC

Views: 42

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses