{"id":"CVE-2026-61847","published":"2026-10-30T18:44:22Z","modified":"2026-10-30T22:15:42Z","title":"Crass: A large number of adjacent CSS comments can trigger a SystemStackError","vendor":"rgrove","product":"crass","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00454,"percentile":0.4017,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/rgrove/crass/security/advisories/GHSA-wwpr-jff3-395c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rgrove/crass/commit/25d78cc607c54262e9d43ea1930f3ba5bb03dfb5","tags":["x_refsource_MISC"]},{"url":"https://github.com/rgrove/crass/releases/tag/v1.0.7","tags":["x_refsource_MISC"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":8.03},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"rgrove","affectedVersions":[{"vendor":"rgrove","product":"crass","versions":["< 1.0.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-30T21:18:11.231526Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"crass","vulnerableRanges":["<1.0.7"],"patched":["1.0.7"],"from":["GHSA-wwpr-jff3-395c"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-114323","exploited":false,"provenance":"source"}}