CVEsrgroveCVE-2026-61846Published Oct 30, 18:43 · Updated Oct 30, 18:43 UTC
6.3
MediumCVSS 4.0 · from GitHub_M
CVE-2026-61846

Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage

crass · CWE-674 · CWE-674
Affectedcrass
FixNo fix listed yet.
PublishedOct 30, 18:43 · GitHub_M
ScoredOct 30 · 6.3 · 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.

Description

Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass recursively parses `CSS simple blocks and functions` without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises `SystemStackError`: stack level too deep, or cause excessive memory usage. Version 1.0.7 adds a configurable depth limit with a conservative default. 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-6jxj-px6v-747w · github.comrefsource_CONFIRMgithub.com/rgrove/crass/commit/cf68287356ec6e20d51cfc4a2d0c3912b7334e99 · 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 308.9Crass: Large numeric exponents cause CPU and memory denial of service · CVE-2026-61845Oct 30