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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-61845— Crass: Large numeric exponents cause CPU and memory denial of service

Quick assessment

Affected
rgrove crass
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Crass 是一个完全符合 CSS 语法 Level 3 规范的 Ruby CSS 解析器。在 1.0.7 版本之前,Crass 会在将结果截断至 之前,对采用 CSS 科学计数法的数值进行无界指数运算。使用 Crass 解析由攻击者控制的 CSS 字符串的应用程序,可能被迫在处理极小的输入时消耗不成比例的 CPU 和内存资源,从而导致程序崩溃。该问题已在 1.0.7 版本中修复。

CVSS 8.9 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
rgrove crass < 1.0.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-61845

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
Crass: Large numeric exponents cause CPU and memory denial of service
Source: CVE Program / CVE List V5
Vulnerability Description
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass converts `CSS scientific notation` number values with unbounded exponentiation before clamping the result to `Float::MAX`. Applications that use Crass to parse attacker-controlled CSS strings can be forced to spend disproportionate CPU and memory parsing a tiny input, potentially resulting in a crash. This issue is fixed in version 1.0.7.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的内存分配
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
rgrove crass < 1.0.7 -

II. Public POCs for CVE-2026-61845

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-61845

请登录查看更多情报信息。

Other References for CVE-2026-61845 (3)

Same Patch Batch · rgrove · 2026-10-30 · 4 CVEs total

CVE-2026-61846 6.3 MEDIUM Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive
CVE-2026-61847 6.3 MEDIUM Crass: A large number of adjacent CSS comments can trigger a SystemStackError
CVE-2026-61848 6.3 MEDIUM Crass: Non-ASCII characters cause superlinear CPU consumption

IV. Related Vulnerabilities