CVE-2026-61845
published high CVSS 4.0 · 8.9Crass: Large numeric exponents cause CPU and memory denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rgrove | — | crass< 1.0.7 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.9 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rgrove | crass | < 1.0.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
3Provider assertions
2GitHub_M · cna
Crass: Large numeric exponents cause CPU and memory denial of service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cdab2cc6c493178a856029458dab84dca877fc352d8f567cc29c00994a9ac8bc
- Ingested
- 30 Oct 2026, 19:45:38 UTC
- Source record
- Official CVE record