Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass recursively parses `CSS simple blocks and functions` without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises `SystemStackError`: stack level too deep, or cause excessive memory usage. Version 1.0.7 adds a configurable depth limit with a conservative default. This issue is fixed in version 1.0.7.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6jxj-px6v-747w | Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 30 Oct 2026 20:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rgrove
Rgrove crass |
|
| Vendors & Products |
Rgrove
Rgrove crass |
Fri, 30 Oct 2026 19:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass recursively parses `CSS simple blocks and functions` without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises `SystemStackError`: stack level too deep, or cause excessive memory usage. Version 1.0.7 adds a configurable depth limit with a conservative default. This issue is fixed in version 1.0.7. | |
| Title | Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage | |
| Weaknesses | CWE-674 | |
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-10-30T18:43:25.373Z
Reserved: 2026-07-10T20:28:17.513Z
Link: CVE-2026-61846
No data.
Status : Deferred
Published: 2026-10-30T19:18:28.370
Modified: 2026-10-30T19:39:14.897
Link: CVE-2026-61846
No data.
OpenCVE Enrichment
Updated: 2026-10-30T21:00:26Z
Weaknesses
Github GHSA