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

Crass: Non-ASCII characters cause superlinear CPU consumption

crass · Uncontrolled resource use · CWE-400
Affectedcrass
FixNo fix listed yet.
PublishedOct 30, 18:45 · 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, when Crass parses input containing `non-ASCII characters`, inefficiencies in tracking the positions of `multi-byte characters` result in superlinear parsing time. An attacker-controlled CSS input consisting of many `non-ASCII characters` can therefore cause excessive CPU consumption and potentially denial of service. 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-8vfg-2r28-hvhj · github.comrefsource_CONFIRMgithub.com/rgrove/crass/releases/tag/v1.0.7 · github.comrefsource_MISCgithub.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5 · github.comrefsource_MISC

Other CVEs in crass

All 4 →
6.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 308.9Crass: Large numeric exponents cause CPU and memory denial of service · CVE-2026-61845Oct 30