Vulnerability 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.
Related Weaknesses (CWE)
References
- http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5
- https://github.com/rgrove/crass/releases/tag/v1.0.7
- https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj
FAQ
What is CVE-2026-61848?
CVE-2026-61848 is a documented vulnerability. 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 p...
How severe is CVE-2026-61848?
CVSS scoring is not yet available for CVE-2026-61848. Check NVD for updates.
Is there a patch for CVE-2026-61848?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.