HighGHSA-6wmf-3r64-vcwvCVE-2026-61845

Crass : Large numeric exponents cause CPU and memory denial of service

Published 20 Oct 2026 · Updated 20 Oct 2026

Is your project on an affected crass?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

crassRubyGems
Affected
<1.0.7
Fixed in
1.0.7
Update to the fixed version for your release line, for example:bundle update --conservative crass # Gemfile: '>= 1.0.7'

Details

Impact

Crass converts CSS scientific notation number values with unbounded exponentiation before it clamps 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, possibly resulting in a crash.

Patches

This is fixed in Crass 1.0.7.

Related

  • https://github.com/rubysec/ruby-advisory-db/blob/master/gems/crass/GHSA-6wmf-3r64-vcwv.yml

Is GHSA-6wmf-3r64-vcwv in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected crass, and gives you the command that fixes it.

More advisories for crass

  • MediumCVE-2026-61848Crass: Non-ASCII characters cause superlinear CPU consumption · 29 Oct 2026
  • MediumCVE-2026-61847Crass: A large number of adjacent CSS comments can trigger a SystemStackError · 29 Oct 2026
  • MediumCVE-2026-61846Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage · 29 Oct 2026
  • MediumCVE-2026-116695Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass · 28 Oct 2026
crass security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.