CVE-2026-61847 Crass: A large number of adjacent CSS comments can trigger a SystemStackError
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
17 packages: 7 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux rubygem-crass(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| debian/ruby-crass(Debian 12) | = 1.0.2-3; = 1.0.6-1; = 1.0.7-1; = 1.0.8-1 +1 more | No fix listed | No fix yet |
| debian/ruby-crass(Debian 13) | = 1.0.6-1; = 1.0.7-1; = 1.0.8-1; All versions | No fix listed | No fix yet |
| redhat/3scale-amp2/system-rhel8(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp2/zync-rhel9(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-crass(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-crass(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-crass(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-crass(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/ruby-crass(Debian 14) | < 1.0.7-1; = 1.0.6-1 | 1.0.7-1 | Fixed |
| redhat/rubygem-crass(Red Hat satellite 6.16 el8) | < 1.0.8-1.el8sat | 1.0.8-1.el8sat | Fixed |
| redhat/rubygem-crass(Red Hat satellite 6.16 el9) | < 1.0.8-1.el9sat | 1.0.8-1.el9sat | Fixed |
| redhat/rubygem-crass(Red Hat satellite 6.17 el9) | < 1.0.8-1.el9sat | 1.0.8-1.el9sat | Fixed |
| redhat/rubygem-crass(Red Hat satellite 6.18 el9) | < 1.0.8-1.el9sat | 1.0.8-1.el9sat | Fixed |
| redhat/rubygem-crass(Red Hat satellite 6.19 el9) | < 1.0.8-1.el9sat | 1.0.8-1.el9sat | Fixed |
| rubygems crass(RubyGems) | < 1.0.7; = 0.0.1; = 0.0.2; = 0.1.0 +9 more | 1.0.7 | Fixed |
| rgrove crass | = < 1.0.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems crass(RubyGems) | < 1.0.7 | 1.0.7 |
| rubygems crass(RubyGems) | = 0.0.1 | No fix listed |
| rubygems crass(RubyGems) | = 0.0.2 | No fix listed |
| rubygems crass(RubyGems) | = 0.1.0 | No fix listed |
| rubygems crass(RubyGems) | = 0.2.0 | No fix listed |
| rubygems crass(RubyGems) | = 0.2.1 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.0 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.1 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.2 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.3 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.4 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.5 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.6 | No fix listed |
| rgrove crass | = < 1.0.7 | No fix listed |
| debian/ruby-crass(Debian:12) | All versions | No fix listed |
| debian/ruby-crass(Debian:12) | = 1.0.2-3 | No fix listed |
| debian/ruby-crass(Debian:12) | = 1.0.6-1 | No fix listed |
| debian/ruby-crass(Debian:12) | = 1.0.7-1 | No fix listed |
| debian/ruby-crass(Debian:12) | = 1.0.8-1 | No fix listed |
| debian/ruby-crass(Debian:13) | All versions | No fix listed |
| debian/ruby-crass(Debian:13) | = 1.0.6-1 | No fix listed |
| debian/ruby-crass(Debian:13) | = 1.0.7-1 | No fix listed |
| debian/ruby-crass(Debian:13) | = 1.0.8-1 | No fix listed |
| debian/ruby-crass(Debian:14) | < 1.0.7-1 | 1.0.7-1 |
| debian/ruby-crass(Debian:14) | = 1.0.6-1 | No fix listed |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/ruby-crass(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ruby-crass(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ruby-crass(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/ruby-crass(Ubuntu:26.10) | All versions | No fix listed |
| redhat/rubygem-crass(Red Hat:satellite:6.16::el8) | < 1.0.8-1.el8sat | 1.0.8-1.el8sat |
| redhat/rubygem-crass(Red Hat:satellite:6.16::el9) | < 1.0.8-1.el9sat | 1.0.8-1.el9sat |
| redhat/rubygem-crass(Red Hat:satellite:6.17::el9) | < 1.0.8-1.el9sat | 1.0.8-1.el9sat |
| redhat/rubygem-crass(Red Hat:satellite:6.18::el9) | < 1.0.8-1.el9sat | 1.0.8-1.el9sat |
| redhat/rubygem-crass(Red Hat:satellite:6.19::el9) | < 1.0.8-1.el9sat | 1.0.8-1.el9sat |
| redhat/3scale-amp2/system-rhel8(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/zync-rhel9(Red Hat:3scale:2.13) | All versions | No fix listed |
| azure linux rubygem-crass(Azure Linux:4.0) | All versions | No fix listed |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2564254 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/rgrove/crass/commit/25d78cc607c54262e9d43ea1930f3ba5bb03dfb5 patch
- https://github.com/rgrove/crass/releases/tag/v1.0.7
- https://github.com/rgrove/crass/security/advisories/GHSA-wwpr-jff3-395c vendor-advisory
- github.com product
- github.com
- Debian Security Tracker CVE-2026-61847 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- RHSA-2026:99949 patch vendor-advisory
- RHSA-2026:99950 patch vendor-advisory
- RHSA-2026:99952 patch vendor-advisory
- RHSA-2026:100120 patch vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-114323 third-party-advisory