{"id":"CVE-2026-61848","state":"PUBLISHED","title":"Crass: Non-ASCII characters cause superlinear CPU consumption","description":"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.","publishedAt":"2026-10-30T18:45:20.036Z","updatedAt":"2026-10-30T18:45:20.036Z","severity":{"score":6.3,"label":"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","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-8vfg-2r28-hvhj","https://github.com/rgrove/crass/releases/tag/v1.0.7","http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-30T18:54:06.496Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/61xxx/CVE-2026-61848.json","commit":"b345e92d739b367e3638a015ed08039f20b0227b","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-61848","state":"PUBLISHED","datePublished":"2026-10-30T18:45:20.036Z","dateUpdated":"2026-10-30T18:45:20.036Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-10T20:28:17.513Z"},"containers":{"cna":{"title":"Crass: Non-ASCII characters cause superlinear CPU consumption","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, 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."}],"affected":[{"vendor":"rgrove","product":"crass","versions":[{"version":"< 1.0.7","status":"affected"}]}],"references":[{"url":"https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj","name":"https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj","tags":["x_refsource_CONFIRM"]},{"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"]},{"url":"http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5","name":"http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-30T18:45:20.036Z"},"source":{"advisory":"GHSA-8vfg-2r28-hvhj","discovery":"UNKNOWN"}}}}}