{"id":"UBUNTU-CVE-2026-61846","details":"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.","modified":"2026-11-04T03:30:21.148134378Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-61846"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-61846"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-61846"},{"type":"REPORT","url":"https://github.com/rgrove/crass/security/advisories/GHSA-6jxj-px6v-747w"},{"type":"REPORT","url":"https://github.com/rgrove/crass/commit/cf68287356ec6e20d51cfc4a2d0c3912b7334e99"},{"type":"REPORT","url":"https://github.com/rgrove/crass/commit/cf68287356ec6e20d51cfc4a2d0c3912b7334e99"},{"type":"REPORT","url":"https://github.com/rgrove/crass/releases/tag/v1.0.7"}],"affected":[{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61846.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.2-2","binary_name":"ruby-crass"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61846.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61846.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-2.1","1.0.2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.2-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61846.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.2-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61846.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.6-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.6-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61846.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.6-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.6-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61846.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}