UBUNTU-CVE-2026-61846: Medium 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 recursively parses CSS simple blocks and functions without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises SystemStackError: stack level too deep, or cause excessive memory usage. Version 1.0.7 adds a configurable depth limit with a conservative default. 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

Who is exposed to this issue?

Applications using ruby-crass before version 1.0.7 to parse attacker-controlled CSS values are exposed. An attacker can supply deeply nested CSS blocks or functions to trigger excessive recursion or memory use.

2

Does exploitation require authentication or user interaction?

No authentication or user interaction is required according to the supplied severity vector. Exploitation requires the attacker to be able to provide CSS that the affected application parses.

3

What is the impact of a successful attack?

Parsing deeply nested input can cause Ruby to raise SystemStackError due to stack exhaustion, or consume excessive memory. The supplied vector indicates availability impact for both the vulnerable component and a subsequent system.

4

What version fixes the issue?

Version 1.0.7 fixes the issue by adding a configurable parsing-depth limit with a conservative default.

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