# CVE-2026-61847: Crass: A large number of adjacent CSS comments can trigger a SystemStackError

- 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-10-30
- Aliases: GHSA-wwpr-jff3-395c, CGA-69h9-h87q-j859, CGA-hvfj-hhq7-8r8c, CGA-rg26-r8g6-p6m9, CGA-3cp9-72j4-gv44, CGA-3j8m-2v6h-hp45, CGA-3rcx-7cgw-c7x4, CGA-3wq2-hh45-4x4f, CGA-3x68-fvg5-c29q, CGA-4f35-pf5c-85cc, CGA-4hhr-x624-8gxg, CGA-4v55-8m79-6rfc, CGA-69gg-g57p-hxc2, CGA-6rf3-4wpj-2jw8, CGA-75hm-j7mj-6p56, CGA-7v3q-c2jh-whgf, CGA-8m5r-x8jh-mc9v, CGA-9cwq-ggq8-f763, CGA-9xq7-8q6c-53rr, CGA-g92c-m7mq-hrpw, CGA-gwmc-5g38-xj2p, CGA-mcjr-f6j5-m56v, CGA-qf54-q2p7-rcmw, CGA-qm9h-wqrv-cgq9, CGA-qv4p-ff5h-4h9p, CGA-vw2c-gw9r-4j3m, CGA-wqhw-wgj5-46gh, CGA-2qjh-cqxp-rccj, CGA-3hfq-4786-92hr, CGA-3qh4-w33g-mm7v, CGA-4r82-vggq-h3r5, CGA-5hp6-6c3j-rhvv, CGA-7m48-67r8-76jm, CGA-9vc8-6mrj-6w9r, CGA-9wr5-7wgj-69pv, CGA-gff8-43w9-c3qp, CGA-jf62-8vx7-2xr9, CGA-xh2c-c9mx-pxv7, DEBIAN-CVE-2026-61847, CGA-fg9h-57r3-3fqm, UBUNTU-CVE-2026-61847, CGA-634m-f2xr-9c2q, CGA-6667-p3vq-8wxp, CGA-939p-44qf-pf38, CGA-94c8-mr69-2jr7, CGA-9f55-3mfw-3fgx, CGA-f62f-3mh7-5254, CGA-g8qh-q32r-hmc6, CGA-m7hg-v26m-2f9m, CGA-mmpq-8g3v-xcvv, CGA-mrwh-rcvg-f29c, CGA-p45m-p7j3-wg36, CGA-p4mf-p564-6wmv, CGA-q352-rfpv-5564, CGA-q52r-vvvr-q2rf, CGA-q52v-g3vp-7hwc, CGA-x333-6gxc-qfhh, CGA-x636-w2pc-cg88, CGA-x7q5-vvmf-9mc7
- Record: https://cvemate.com/vulnerability/CVE-2026-61847 · JSON: https://cvemate.com/vulnerability/CVE-2026-61847/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, when the `:preserve_comments` option is not enabled, which is the default, Crass discards CSS comments by recursively consuming the next token. An attacker-provided stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a `SystemStackError`, denying service to the parsing application. Preserving comments avoids this recursive path. 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-wwpr-jff3-395c>
- <https://github.com/rgrove/crass/commit/25d78cc607c54262e9d43ea1930f3ba5bb03dfb5>
- <https://github.com/rgrove/crass>
- <https://github.com/rgrove/crass/releases/tag/v1.0.7>
- <https://security-tracker.debian.org/tracker/CVE-2026-61847>
- <https://ubuntu.com/security/CVE-2026-61847>
- <https://www.cve.org/CVERecord?id=CVE-2026-61847>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61847.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61847>

---

Data as of 2026-12-05T04:41:29.366Z. 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
