Vulnerabilities

Security fix · CVE-2026-61847

Crass: A large number of adjacent CSS comments can trigger a SystemStackError

Published Oct 29, 2026 · catalog updated Oct 31, 2026 · Red Hat Red Hat Enterprise Linux

Last checked Nov 6, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2026-61847. EPSS is 0.49%. Act only if a listed version of Red Hat Red Hat Enterprise Linux is installed.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
High7.5
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.49%
Remediation
Version ranges on file
Affected products
Debian:12 ruby-crass · Debian:13 ruby-crass · Debian:14 ruby-crass · RubyGems crass · gem crass · rubygems crass

### Impact When the option is not enabled (which is the default behavior), Crass discards CSS comments by recursively consuming the next token. An attacker who provides a stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a . ### Patches This is fixed in Crass 1.0.7, which no longer recurses when discarding comments. ### Workarounds Set the option to if this is acceptable to your use case (recursion doesn't occur when comments are preserved).

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • Debian:12 ruby-crass1.0.2-3, 1.0.6-1, 1.0.7-1
  • Debian:13 ruby-crass1.0.6-1, 1.0.7-1, 1.0.8-1
  • Debian:14 ruby-crass0 → 1.0.7-1
  • RubyGems crass0 → 1.0.7
  • gem crassversion unspecified
  • rubygems crass< 1.0.7

How to fix CVE-2026-61847

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-61847. EPSS is 0.49%. Act only if a listed version of Red Hat Red Hat Enterprise Linux is installed.

Which versions are affected?

Compare what you have installed with 1.0.2-3, 1.0.6-1, 1.0.7-1, 1.0.6-1, 1.0.7-1, 1.0.8-1, 0 → 1.0.7-1, 0 → 1.0.7, < 1.0.7. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-674; CWE-770: Allocation of Resources Without Limits or Throttling. EPSS 0.49%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 29, 2026 · GitHub Advisory Database

    Detected

    ### Impact When the option is not enabled (which is the default behavior), Crass discards CSS comments by recursively consuming the next token. An attacker who provides a stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a . ### Patches This is fixed in Crass 1.0.7, which no longer recurses when discarding comments. ### Workarounds Set the opt

  2. Oct 29, 2026 · GitHub Advisory Database

    Fix available

    crass fixed in 1.0.7

  3. Oct 29, 2026 · GitHub Advisory Database

    Fix available

    crass fixed in 1.0.7

  4. Oct 29, 2026 · GitHub Advisory Database

    Updated

    ### Impact When the option is not enabled (which is the default behavior), Crass discards CSS comments by recursively consuming the next token. An attacker who provides a stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a . ### Patches This is fixed in Crass 1.0.7, which no longer recurses when discarding comments. ### Workarounds Set the opt

  5. Oct 31, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    ruby-crass fixed in 1.0.7-1

  6. Oct 31, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    ruby-crass fixed in 1.0.7-1

  7. Oct 31, 2026 · OpenSSF OSV / OSV Scanner

    Updated

    ### Impact When the option is not enabled (which is the default behavior), Crass discards CSS comments by recursively consuming the next token. An attacker who provides a stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a . ### Patches This is fixed in Crass 1.0.7, which no longer recurses when discarding comments. ### Workarounds Set the opt

  8. Oct 31, 2026 · Trivy Vulnerability DB

    Updated

    Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when the 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 , denying service to the parsing applica

Sources

  • CVE.orgVulnerability recordCVE-2026-61847

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-61847

    30-day exploitation probability 0.49%

    first.org
  • GitHub Advisory DatabasePackage advisoryGHSA-wwpr-jff3-395c

    GitHub Advisory Database record mirrored by OSV.

    github.com
  • GitLab Advisory DatabasePackage advisoryCVE-2026-61847

    When the :preserve_comments option is not enabled (which is the default behavior), Crass discards CSS comments by recursively consuming the next token. An attacker who provides a stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a SystemStackError.

    advisories.gitlab.com
  • OpenSSF OSV / OSV ScannerPackage advisoryDEBIAN-CVE-2026-61847
    osv.dev
  • OpenSSF OSV / OSV ScannerPackage advisoryGHSA-wwpr-jff3-395c

    Crass: A large number of adjacent CSS comments can trigger a SystemStackError

    osv.dev
  • Red Hat Security DataVendor advisoryCVE-2026-61847

    crass: crass: Denial of Service via excessive recursion when processing comments

    access.redhat.com
  • Trivy Vulnerability DBPackage advisoryDEBIAN-CVE-2026-61847

    Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when the option is not enabled, which is the default, Crass discards CSS comments by recursively consuming the next token. An attacker-provided stylesheet containing a ver

    osv.dev

References

Freshness

Last verified in this catalog Nov 6, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • GitLab Advisory DatabaseNov 3, 2026
  • GitHub Advisory DatabaseNov 2, 2026
  • OpenSSF OSV / OSV ScannerNov 2, 2026
  • Red Hat Security DataNov 1, 2026
  • FIRST EPSSOct 31, 2026
  • Trivy Vulnerability DBOct 31, 2026
  • OpenSSF OSV / OSV ScannerOct 31, 2026
  • CVE.orgOct 30, 2026