ghsa-8vfg-2r28-hvhj
CVSS 6.3 osv_rubygems
Description
### 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.
Timeline
- Published
- unknown
- Last Modified
- unknown
CVSS Details
CVSS details not available.
Affected Products
No product information available.
Weaknesses (CWE)
References
Linked Vulnerabilities
No linked vulnerabilities found.
{
"affected": [
{
"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"
},
"package": {
"ecosystem": "RubyGems",
"name": "crass",
"purl": "pkg:gem/crass"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.7"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0.1",
"0.0.2",
"0.1.0",
"0.2.0",
"0.2.1",
"1.0.0",
"1.0.1",
"1.0.2",
"1.0.3",
"1.0.4",
"1.0.5",
"1.0.6"
]
}
],
"aliases": [
"CVE-2026-61848"
],
"database_specific": {
"cwe_ids": [
"CWE-400"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-29T16:35:29Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "### Impact\n\nWhen 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.\n\n### Patches\n\nThis is fixed in Crass 1.0.7.\n\n### Workarounds\n\nAvoid passing non-ASCII input to Crass. Or cultivate patience.",
"id": "GHSA-8vfg-2r28-hvhj",
"modified": "2026-10-29T16:45:04.487777722Z",
"published": "2026-10-29T16:35:29Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj"
},
{
"type": "PACKAGE",
"url": "https://github.com/rgrove/crass"
},
{
"type": "WEB",
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.7"
},
{
"type": "WEB",
"url": "http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5"
}
],
"schema_version": "1.9.2",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "Crass: Non-ASCII characters cause superlinear CPU consumption"
}