CVE-2026-61848
Dashboard / Vulnerabilities / CVE-2026-61848
Summary: Crass: Non-ASCII characters cause superlinear CPU consumption
Details: 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.
References: https://github.com/rgrove/crass/releases/tag/v1.0.7, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61848.json, https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj, https://nvd.nist.gov/vuln/detail/CVE-2026-61848, http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5
Affected packages
Package
Name:
Purl:
