Bug 2564254 (CVE-2026-61847) - CVE-2026-61847 crass: crass: Denial of Service via excessive recursion when processing comments
Summary: CVE-2026-61847 crass: crass: Denial of Service via excessive recursion when p...
Keywords:
Status: NEW
Alias: CVE-2026-61847
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-30 19:19 UTC by OSIDB Bzimport
Modified: 2026-11-04 09:20 UTC (History)
20 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-30 19:19:17 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.