A AegiFlow
HIGHCVSS 8.9

CVE-2026-61845

CVE-2026-61845 updated by NVD

Published
2026-10-20
Modified
2026-11-01
Sources
github-advisory, nvd

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
RubyGemscrass—1.0.7

Remediation: Upgrade to 1.0.7 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.