CVEsrgroveCVE-2026-61845Published Oct 30, 18:41 · Updated Oct 30, 19:41 UTC
8.9
HighCVSS 4.0 · from GitHub_M
CVE-2026-61845

Crass: Large numeric exponents cause CPU and memory denial of service

crass · CWE-789 · CWE-789
Affectedcrass
FixNo fix listed yet.
PublishedOct 30, 18:41 · GitHub_M
ScoredOct 30 · 8.9 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:06 UTC

What we know

No known exploitation. CISA KEV, checked 22:06 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.
A successful attack can take the service down. CVSS impact.

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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed incrass< 1.0.7–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv · github.comrefsource_CONFIRMgithub.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9 · github.comrefsource_MISCgithub.com/rgrove/crass/releases/tag/v1.0.7 · github.comrefsource_MISC

Other CVEs in crass

All 4 →
6.3Crass: Non-ASCII characters cause superlinear CPU consumption · CVE-2026-61848Oct 306.3Crass: A large number of adjacent CSS comments can trigger a SystemStackError · CVE-2026-61847Oct 306.3Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage · CVE-2026-61846Oct 30