UNKNOWN RubyGems

Crass : Large numeric exponents cause CPU and memory denial of service

GHSA-6wmf-3r64-vcwv · CVE-2026-61845

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Impact

Crass converts CSS scientific notation number values with unbounded exponentiation before it clamps 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, possibly resulting in a crash.

Patches

This is fixed in Crass 1.0.7.

Related

Ready to move

Start Securing

Free, no credit card | First findings in minutes