CVE Catalog

CVE-2026-61848

MediumCVSS 6.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.49%

42th percentile - higher than 42% of all known CVEs

Summary

Crass (a Ruby CSS parser) prior to 1.0.7 inefficiently tracks positions of multi-byte characters when parsing input containing non-ASCII characters. This results in superlinear parsing time, and an attacker can supply CSS with many non-ASCII characters, causing excessive CPU consumption and potential denial of service.

Risk Assessment

An attacker may cause denial of service (CPU exhaustion) by supplying specially crafted CSS, potentially affecting the availability of the application processing CSS.

Recommendation

Update the Crass library to version 1.0.7 or later. Consider limiting the size and complexity of processed CSS.

Other vulnerabilities in Crass

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS