CVE-2026-61848: Crass: Non-ASCII characters cause superlinear CPU consumption

Published Oct 29, 2026
·
Updated

Impact

When parsing an input containing non-ASCII characters, inefficiencies in how Crass tracks the positions of multi-byte characters result in superlinear parsing time. An attacker-controlled input consisting of many non-ASCII characters could cause excessive CPU consumption and potentially denial of service.

Patches

This is fixed in Crass 1.0.7.

Workarounds

Avoid passing non-ASCII input to Crass. Or cultivate patience.

Affected Software

1 affected componentFixes available
rubygems/crass<1.0.7
1.0.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/crass to a version that resolves this vulnerability.

    Fixed in 1.0.7
  2. Upgrade

    Upgrade Crass to a version that resolves this vulnerability.

    Fixed in 1.0.7
  3. Compensating control

    Avoid passing non-ASCII input to Crass.

Event History

Oct 29, 2026
Advisory Published
via GitHub·04:35 PM
Data Sourced
via GitHub·04:35 PM
DescriptionWeaknessAffected Software
Data Sourced
via OSV·04:35 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Applications that use Crass to parse attacker-controlled input containing many non-ASCII characters are exposed to excessive CPU consumption. This can potentially result in denial of service.

2

What does an attacker need to exploit it?

An attacker needs to cause Crass to parse input containing a large number of non-ASCII characters. No privileges or user interaction are indicated by the supplied severity vector.

3

Is there a fixed version available?

Yes. The issue is fixed in Crass 1.0.7.

4

What can be done if upgrading is not immediately possible?

Avoid passing non-ASCII input to Crass. This reduces exposure to the inefficient multi-byte character position tracking described in the advisory.

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