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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-789"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61845.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.0.7",
"range": [
{
"fixed": "cfd5daa3ce23cd7b2356acf90ecb7a02defe002c"
}
],
"source": "REFERENCES_TAG"
}
]
}