UBUNTU-CVE-2026-61845: High severity ubuntu/ruby-crass vulnerability

Published Nov 3, 2026
·
Updated

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 Software

7 affected components
ubuntu/ruby-crass*
ubuntu/ruby-crass*
ubuntu/ruby-crass*
ubuntu/ruby-crass*
ubuntu/ruby-crass*
ubuntu/ruby-crass*
ubuntu/ruby-crass*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade crass to a version that resolves this vulnerability.

    Fixed in 1.0.7

Event History

Nov 3, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications are exposed if they use Crass to parse CSS strings supplied or controlled by an attacker. The affected Ubuntu package is ruby-crass, and versions prior to 1.0.7 are vulnerable.

2

What does an attacker need to exploit it?

An attacker needs a path to provide CSS input that the application passes to Crass for parsing. No authentication or user interaction is indicated by the supplied severity vector.

3

What is the impact of successful exploitation?

A tiny CSS input using scientific-notation numeric values can cause disproportionate CPU and memory consumption during parsing. This can potentially crash the affected application, resulting in a denial of service.

4

What should be done if an update cannot be applied immediately?

Avoid parsing attacker-controlled CSS with Crass until the package can be updated. Where untrusted CSS must be accepted, restricting or rejecting scientific-notation number values can reduce exposure.

5

How can I determine whether an application is affected?

Check whether the application depends on ruby-crass or Crass and parses untrusted CSS input. If the Crass version is earlier than 1.0.7, it is affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203