Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
sparklemotion nokogiri
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Nokogiri 1.19.3 之前的版本在 CSS 选择器词法分析器中存在正则表达式拒绝服务漏洞,影响字符串字面量和标识符的词法分析。攻击者可以通过向 Node#css、Node#at_css 和 Searchable#search 等方法注入特制的 CSS 选择器,引发指数级的正则表达式回溯,从而导致拒绝服务。

CVSS 7.5 · High

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 2

VendorProduct Version RangeStatus
sparklemotion nokogiri < 1.19.3 affected
1.19.3 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-79770

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
sparklemotion nokogiri 0 ~ 1.19.3 -

II. Public POCs for CVE-2026-79770

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 31404 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-79770

登录查看更多情报信息。

Vendor Advisories for CVE-2026-79770 (2)

Same Patch Batch · sparklemotion · 2026-08-25 · 14 CVEs total

CVE-2024-58378 9.8 CRITICAL Nokogiri before 1.16.2 Use-After-Free via xmlTextReader
CVE-2022-51000 9.8 CRITICAL Nokogiri before 1.13.2 Multiple Vulnerabilities via libxml2 libxslt
CVE-2025-71407 9.8 CRITICAL Nokogiri before 1.18.3 Stack Buffer Overflow and Use-After-Free
CVE-2022-50999 8.6 HIGH Nokogiri before 1.13.5 Integer Overflow via libxml2
CVE-2025-71406 7.8 HIGH Nokogiri before 1.18.4 Use-After-Free via libxslt
CVE-2023-54354 7.5 HIGH Nokogiri before 1.14.3 Null Pointer Dereference via libxml2
CVE-2022-50998 7.5 HIGH Nokogiri before 1.13.9 Multiple Vulnerabilities via libxml2
CVE-2021-47996 7.5 HIGH Nokogiri before 1.11.4 Multiple Vulnerabilities via libxml2
CVE-2026-79769 5.5 MEDIUM Nokogiri before 1.19.4 Invalid Memory Read via initialize_copy_with_args
CVE-2026-79771 5.3 MEDIUM Nokogiri before 1.19.3 Memory Leak via XSLT Transform
CVE-2026-79772 5.3 MEDIUM Nokogiri before 1.19.1 Unchecked Return Value canonicalize
CVE-2025-71346 2.9 LOW Nokogiri before 1.18.8 Heap Buffer Under-read via XML Schema
CVE-2024-58377 Nokogiri before 1.16.5 libxml2 Dependency Update

IV. Related Vulnerabilities

V. Comments for CVE-2026-79770

No comments yet


Leave a comment