p PatchFirst

CVE-2026-61845

CVE-2026-61845 · Crass: Large numeric exponents cause CPU and memory denial of service

CVSS 8.9 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-crass"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • RHSA-2026:99952 · Red Hat satellite 6.18 el9, Red Hat satellite capsule 6.18 el9, Red Hat satellite maintenance 6.18 el9, Red Hat satellite utils 6.18 el9 ·
  • RHSA-2026:99949 · Red Hat satellite 6.16 el8, Red Hat satellite 6.16 el9, Red Hat satellite capsule 6.16 el8, Red Hat satellite capsule 6.16 el9, Red Hat satellite utils 6.16 el8, Red Hat satellite utils 6.16 el9 ·
  • RHSA-2026:99950 · Red Hat satellite 6.17 el9, Red Hat satellite capsule 6.17 el9, Red Hat satellite maintenance 6.17 el9, Red Hat satellite utils 6.17 el9 ·
  • RHSA-2026:100120 · Red Hat satellite 6.19 el9, Red Hat satellite capsule 6.19 el9, Red Hat satellite utils 6.19 el9 ·

Stack: system · ruby

Affected products and versions

  • crass

    Versions
    • < 1.0.7: Affected

    No fix published

  • ruby-crass Debian 12

    Versions
    • 1.0.2-3
    • 1.0.6-1
    • 1.0.7-1
    • 1.0.8-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-crass Debian 13

    Versions
    • 1.0.6-1
    • 1.0.7-1
    • 1.0.8-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-crass Debian 14

    Versions
    • 1.0.6-1
    Affected ranges
    • ECOSYSTEM: < 1.0.7-1

    Update to 1.0.7-1

  • crass RubyGems

    Versions
    • 0.0.1
    • 0.0.2
    • 0.1.0
    • 0.2.0
    • 0.2.1
    • 1.0.0
    All versions (12)
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    • 1.0.6
    Affected ranges
    • ECOSYSTEM: < 1.0.7

    Update to 1.0.7

  • ruby-crass Ubuntu 16.04 LTS

    Versions
    • 1.0.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-crass Ubuntu 18.04 LTS

    Versions
    • 1.0.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-crass Ubuntu 20.04 LTS

    Versions
    • 1.0.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-crass Ubuntu 22.04 LTS

    Versions
    • 1.0.2-2.1
    • 1.0.2-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-crass Ubuntu 24.04 LTS

    Versions
    • 1.0.2-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-crass Ubuntu 26.10

    Versions
    • 1.0.6-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-crass Ubuntu 26.04 LTS

    Versions
    • 1.0.6-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →