CVE-2026-61845 Crass: Large numeric exponents cause CPU and memory denial of service
HighCVSS 8.9
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- 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, 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.
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 11 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 |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2564247 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9
- https://github.com/rgrove/crass/releases/tag/v1.0.7
- https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv vendor-advisory
- github.com product
- github.com
- rubygems.org
- github.com
- Debian Security Tracker CVE-2026-61845 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