{"id":"CVE-2026-61846","published":"2026-10-30T18:43:25Z","modified":"2026-11-05T02:28:46Z","title":"Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage","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, Crass recursively parses `CSS simple blocks and functions` without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises `SystemStackError`: stack level too deep, or cause excessive memory usage. Version 1.0.7 adds a configurable depth limit with a conservative default. 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.40171,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/rgrove/crass/security/advisories/GHSA-6jxj-px6v-747w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rgrove/crass/commit/cf68287356ec6e20d51cfc4a2d0c3912b7334e99","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":"yes","technicalImpact":"partial","timestamp":"2026-11-05T02:28:35.312363Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"crass","vulnerableRanges":["<1.0.7"],"patched":["1.0.7"],"from":["GHSA-6jxj-px6v-747w"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-114322","exploited":false,"provenance":"source"}}