Advisory

GHSA-8vfg-2r28-hvhj

Also known as: CVE-2026-61848

Summary

Crass: Non-ASCII characters cause superlinear CPU consumption

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-10-29 16:35 UTC
Modified
2026-10-29 16:45 UTC

Affected packages and fixes

crass

RubyGems · All systems

Affected

  • introduced 0, fixed 1.0.7 (ecosystem)

Fixed versions

1.0.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences