CVE-2026-82735
Medium 5.9No known exploitationFix availableMatch regex runs on over-length input in Ash.Type.String, enabling regex denial of service
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 11% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-400
Patching and mitigation
- Patch status
- Fix available (source: CVE record (EEF))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| ash-project | ash | from 0.10.0 before 3.32.2 | 3.32.2 | CVE Program |
| ash-project | ash | from 05848d5f4affe60fddd812222a18ada080c0813b before 14928412a1a94a69c47df8e98920d3a2b09cdec4 | 14928412a1a94a69c47df8e98920d3a2b09cdec4 | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (EEF)
Vendor guidance and references
- Fix commit 1492841 in ash-project/ash (opens in a new tab)patch
- https://github.com/ash-project/ash/security/advisories/GHSA-mq7g-pffw-m8xh (opens in a new tab)related, vendor-advisory
- EEF CNA record for CVE-2026-82735 (opens in a new tab)related
- Introducing commit 05848d5 in ash-project/ash (opens in a new tab)related
- OSV record EEF-CVE-2026-82735 (opens in a new tab)related