CVE-2026-61845
HIGH 8.9CVSS 4.0Crass : Large numeric exponents cause CPU and memory denial of service
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.
- Published
- 30 Oct 2026
- Last modified
- 30 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-674CWE-789
- Also known as
- GHSA-6wmf-3r64-vcwv
- Sources
- NVDJSONOSV GHSA-6wmf-3r64-vcwvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | crass | < 1.0.7 | 1.0.7 |
References
- https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9
- https://github.com/rgrove/crass/releases/tag/v1.0.7 · WEB
- https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv · WEB
- https://github.com/rgrove/crass · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/crass/GHSA-6wmf-3r64-vcwv.yml · WEB
- https://rubygems.org/gems/crass/versions/1.0.7 · WEB
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 30 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Oct 2026)