# CVE-2026-61846: Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-30 · Modified: 2026-11-05
- Aliases: GHSA-6jxj-px6v-747w, CGA-fpr3-fmhw-v5m3, CGA-fr44-m4h5-2ppq, CGA-544m-q7fx-7v4x, CGA-5h92-mr2q-x24j, CGA-6mxc-54f5-49pj, CGA-6xc4-g5f6-8gv3, CGA-7jx8-8pfw-h434, CGA-7w5w-c62j-374w, CGA-8939-jfcx-fj68, CGA-c5j7-rc5h-mmj5, CGA-cm8v-php6-f7f5, CGA-cmmh-qfhh-3v64, CGA-fwjp-w8qf-3h29, CGA-gqwf-x7w5-fmjp, CGA-jg29-j9mc-7h4f, CGA-jq77-jh82-4j9g, CGA-mh2w-7q23-gggg, CGA-pq55-3xxw-j2wj, CGA-r93j-ph8j-qhxw, CGA-rv95-qfjc-w2g6, CGA-vcff-9p9m-73mx, CGA-vg9m-297q-wxj7, CGA-wrm5-hpjg-67h4, CGA-xp9q-fcm6-f25m, CGA-2rhg-66wc-p682, CGA-3j5r-c4m9-9rfv, CGA-3m34-jp77-vg3j, CGA-4r99-5c32-7gfm, CGA-6x22-8gj8-ghg6, CGA-9mvx-q8fv-wj8h, CGA-chv4-h3cm-g4c4, CGA-v647-fr6r-w3c8, CGA-xrvc-rw5r-f7q3, DEBIAN-CVE-2026-61846, CGA-wcmj-5v5c-gr6q, CGA-xqm5-h82f-jc77, UBUNTU-CVE-2026-61846, CGA-552q-3ww3-h4gg, CGA-74ph-m8rv-9p3w, CGA-82ch-fmqf-rmq4, CGA-fcmv-qv6m-xx8r, CGA-g56f-pmjw-hxmc, CGA-g8p9-3c6m-cw5f, CGA-h2h5-9q6r-p89m, CGA-hpjf-9x7q-h9qj, CGA-jj6m-3294-wrxc, CGA-m9mp-j8x2-rff3, CGA-p3rg-x8cm-mvh7, CGA-pg2r-6884-qg6j, CGA-q283-95q2-9r39, CGA-q33g-5cr7-423g, CGA-q3h7-9549-x9mv, CGA-qc6q-4mv6-92f2, CGA-r725-3cmw-cq78, CGA-v3pr-vjwq-9jr4, CGA-v5h6-qmv8-cq5g, CGA-v894-32r9-3x48, CGA-x39x-hhjm-jr74
- Record: https://cvemate.com/vulnerability/CVE-2026-61846 · JSON: https://cvemate.com/vulnerability/CVE-2026-61846/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
- EPSS: 0.454%, percentile 41.12%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 32)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/rgrove/crass/security/advisories/GHSA-6jxj-px6v-747w>
- <https://github.com/rgrove/crass/commit/cf68287356ec6e20d51cfc4a2d0c3912b7334e99>
- <https://github.com/rgrove/crass>
- <https://github.com/rgrove/crass/releases/tag/v1.0.7>
- <https://security-tracker.debian.org/tracker/CVE-2026-61846>
- <https://ubuntu.com/security/CVE-2026-61846>
- <https://www.cve.org/CVERecord?id=CVE-2026-61846>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61846.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61846>

---

Data as of 2026-12-05T04:58:56.960Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
