{"id":"UBUNTU-CVE-2026-61848","details":"Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when Crass parses input containing `non-ASCII characters`, inefficiencies in tracking the positions of `multi-byte characters` result in superlinear parsing time. An attacker-controlled CSS input consisting of many `non-ASCII characters` can therefore cause excessive CPU consumption and potentially denial of service. This issue is fixed in version 1.0.7.","modified":"2026-11-04T03:30:21.402390011Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-61848"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-61848"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-61848"},{"type":"REPORT","url":"https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj"},{"type":"REPORT","url":"https://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5"},{"type":"REPORT","url":"http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5"},{"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_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-61848.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-61848.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-61848.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-61848.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-61848.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-61848.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_version":"1.0.6-1ubuntu1","binary_name":"ruby-crass"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61848.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"}]}