{"id":"UBUNTU-CVE-2026-61845","details":"Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass converts `CSS scientific notation` number values with unbounded exponentiation before clamping the result to `Float::MAX`. Applications that use Crass to parse attacker-controlled CSS strings can be forced to spend disproportionate CPU and memory parsing a tiny input, potentially resulting in a crash. This issue is fixed in version 1.0.7.","modified":"2026-11-04T03:30:20.996555078Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-61845"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-61845"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-61845"},{"type":"REPORT","url":"https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv"},{"type":"REPORT","url":"https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9"},{"type":"REPORT","url":"https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9"},{"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-61845.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_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-61845.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_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-61845.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-61845.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-61845.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-61845.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-61845.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:H/SC:N/SI:N/SA:H"},{"type":"Ubuntu","score":"medium"}]}