UBUNTU-CVE-2026-61848: 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, 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.

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?

Systems using ruby-crass before version 1.0.7 are exposed when they parse attacker-controlled CSS. The issue is relevant where an unauthenticated remote party can supply CSS content to the application.

2

What does an attacker need to exploit it?

An attacker needs to provide CSS input containing many non-ASCII, multi-byte characters. No authentication or user interaction is required, but the vulnerable parser must process the supplied input.

3

How can I remediate the issue?

Update Crass to version 1.0.7 or later. That version fixes the superlinear parsing behavior.

4

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

Avoid parsing untrusted CSS where possible, and restrict or reject CSS inputs with large numbers of non-ASCII characters. Limiting the size of submitted CSS can also reduce exposure to excessive CPU consumption.

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