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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 1
- First seenCVSS 6.3 · rgroveNVD modified 2026-10-30 18:45
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 3
- https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj x_refsource_confirm
- https://github.com/rgrove/crass/releases/tag/v1.0.7 x_refsource_misc
- http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5 x_refsource_misc