{"id":"CVE-2026-61845","published":"2026-10-30T18:41:58Z","modified":"2026-10-30T19:41:24Z","title":"Crass: Large numeric exponents cause CPU and memory denial of service","vendor":"rgrove","product":"crass","tier":"tail","description":{"text":"Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass converts `CSS scientific notation` number values with unbounded exponentiation before clamping the result to `Float::MAX`. Applications that use Crass to parse attacker-controlled CSS strings can be forced to spend disproportionate CPU and memory parsing a tiny input, potentially resulting in a crash. This issue is fixed in version 1.0.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00386,"percentile":0.33585,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9","tags":["x_refsource_MISC"]},{"url":"https://github.com/rgrove/crass/releases/tag/v1.0.7","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":6.72},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"rgrove","affectedVersions":[{"vendor":"rgrove","product":"crass","versions":["< 1.0.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-30T19:40:36.690821Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"crass","vulnerableRanges":["<1.0.7"],"patched":["1.0.7"],"from":["GHSA-6wmf-3r64-vcwv"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-114321","exploited":false,"provenance":"source"}}