{"id":"CVE-2026-61845","state":"PUBLISHED","title":"Crass: Large numeric exponents cause CPU and memory denial of service","description":"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.","publishedAt":"2026-10-30T18:41:58.369Z","updatedAt":"2026-10-30T19:41:24.227Z","severity":{"score":8.9,"label":"High","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["rgrove crass"],"affected":[{"vendor":"rgrove","product":"crass","versions":[{"version":"< 1.0.7","status":"affected"}]}],"references":["https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv","https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9","https://github.com/rgrove/crass/releases/tag/v1.0.7"],"weaknesses":["CWE-789"],"ingestedAt":"2026-10-30T19:50:06.312Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/61xxx/CVE-2026-61845.json","commit":"529c1b1d09e445e35efc21d9710d74950b112e1c","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-61845","state":"PUBLISHED","datePublished":"2026-10-30T18:41:58.369Z","dateUpdated":"2026-10-30T19:41:24.227Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-10T20:28:17.513Z"},"containers":{"cna":{"title":"Crass: Large numeric exponents cause CPU and memory denial of service","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"rgrove","product":"crass","versions":[{"version":"< 1.0.7","status":"affected"}]}],"references":[{"url":"https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv","name":"https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9","name":"https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9","tags":["x_refsource_MISC"]},{"url":"https://github.com/rgrove/crass/releases/tag/v1.0.7","name":"https://github.com/rgrove/crass/releases/tag/v1.0.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"HIGH","baseScore":8.9,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-789","lang":"en","description":"CWE-789: Memory Allocation with Excessive Size Value","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-30T18:41:58.369Z"},"source":{"advisory":"GHSA-6wmf-3r64-vcwv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-30T19:40:36.690821Z","id":"CVE-2026-61845","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-30T19:41:24.227Z"}}]}}}