Vulnerability · Published Oct 30, 2026 · Assigned by GitHub_M

CVE-2026-61848Crass: Non-ASCII characters cause superlinear CPU consumption

Medium 6.3

In plain English

A medium-severity uncontrolled resource consumption in crass from rgrove. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.5%top 58.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-crassno fix listedDEBIAN-CVE-2026-61848
Debian:13ruby-crassno fix listedDEBIAN-CVE-2026-61848
Debian:14ruby-crass1.0.7-1DEBIAN-CVE-2026-61848
RubyGemscrass1.0.7GHSA-8vfg-2r28-hvhj
Ubuntu:22.04:LTSruby-crassno fix listedUBUNTU-CVE-2026-61848
Ubuntu:24.04:LTSruby-crassno fix listedUBUNTU-CVE-2026-61848
Ubuntu:26.04:LTSruby-crassno fix listedUBUNTU-CVE-2026-61848
Ubuntu:26.10ruby-crassno fix listedUBUNTU-CVE-2026-61848

Affected products (as reported)

VendorProductVersions
rgrove crass < 1.0.7

Weakness: CWE-400 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L

References