High severityNVD Advisory· Published Oct 30, 2026· Updated Oct 30, 2026
CVE-2026-61845
CVE-2026-61845
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
crassRubyGems | < 1.0.7 | 1.0.7 |
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-6wmf-3r64-vcwvghsaADVISORY
- github.com/rgrove/crass/releases/tag/v1.0.7nvdWEB
- github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwvnvdWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/crass/GHSA-6wmf-3r64-vcwv.ymlghsaWEB
- rubygems.org/gems/crass/versions/1.0.7ghsaWEB
- github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9nvd
News mentions
0No linked articles in our index yet.