CVE-2026-82735
published medium CVSS 4.0 · 5.9Match regex runs on over-length input in Ash.Type.String, enabling regex denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ash-project | — | ash0.10.0 to < 3.32.2 · Other versions: unaffected | Affected | Not stated | EEF |
| ash-project | — | ash-project/ashash · 05848d5f4affe60fddd812222a18ada080c0813b to < 14928412a1a94a69c47df8e98920d3a2b09cdec4 · Other versions: unaffected | Affected | Not stated | EEF |
Description
Uncontrolled Resource Consumption vulnerability in ash-project ash allows an attacker to force an expensive regular expression to run on input that a length constraint should have already rejected. Ash.Type.String.apply_constraints/2 (lib/ash/type/string.ex) evaluated the :match regex regardless of the min_length and max_length constraints on the same attribute. Because the length check did not gate the regex, an over-length value that the length constraint rejects still had the pattern applied to it, so the length limit that would otherwise bound the work never constrained the regex input. Against a backtracking pattern this yields catastrophic regex evaluation on attacker-sized input, and even a linear pattern runs on arbitrarily large input, consuming CPU per request. The fix skips the :match regex whenever a length constraint is violated, making the two checks order-independent. This issue affects ash: from 0.10.0 before 3.32.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ash-project | ash | 0.10.0 to < 3.32.2 (affected · semver)Default: unaffected | EEF · cna |
| ash-project | ash | 05848d5f4affe60fddd812222a18ada080c0813b to < 14928412a1a94a69c47df8e98920d3a2b09cdec4 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-400 CWE-400 Uncontrolled Resource Consumption
References
5- EEF CNA record for CVE-2026-82735 https://cna.erlef.org/cves/CVE-2026-82735.html
- Introducing commit 05848d5 in ash-project/ash https://github.com/ash-project/ash/commit/05848d5f4affe60fddd812222a18ada080c0813b
- Fix commit 1492841 in ash-project/ash https://github.com/ash-project/ash/commit/14928412a1a94a69c47df8e98920d3a2b09cdec4
- https://github.com/ash-project/ash/security/advisories/GHSA-mq7g-pffw-m8xh
- OSV record EEF-CVE-2026-82735 https://osv.dev/vulnerability/EEF-CVE-2026-82735
Provider assertions
2EEF · cna
Match regex runs on over-length input in Ash.Type.String, enabling regex denial of service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b2d588272405bc4fb489f0b1b7afc77c2e0a6127ed7cdc4d6e6621e5ad3ed48a
- Ingested
- 19 Nov 2026, 08:43:53 UTC
- Source record
- Official CVE record