GHSA-8vfg-2r28-hvhj

Suggest an improvement
Source
https://github.com/advisories/GHSA-8vfg-2r28-hvhj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-8vfg-2r28-hvhj/GHSA-8vfg-2r28-hvhj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8vfg-2r28-hvhj
Aliases
  • CVE-2026-61848
Published
2026-10-29T16:35:29Z
Modified
2026-10-29T16:45:04Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-400"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-29T16:35:29Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

RubyGems / crass

Package

Name
crass
Purl
pkg:gem/crass

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.7

Affected versions

0.*
0.0.1
0.0.2
0.1.0
0.2.0
0.2.1
1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-8vfg-2r28-hvhj/GHSA-8vfg-2r28-hvhj.json"