CVE-2026-82735Match regex runs on over-length input in Ash.Type.String, enabling regex denial of service
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ash-project ash: affected: 0.10.0 to before 3.32.2; fixed in
3.32.2 - ash-project ash: affected: 05848d5f4affe60fddd812222a18ada080c0813b to before 14928412a1a94a69c47df8e98920d3a2b09cdec4; fixed in
14928412a1a94a69c47df8e98920d3a2b09cdec4
Vendor advisories:
- https://github.com/ash-project/ash/security/advisories/GHSA-mq7g-pffw-m8xh (vendor-advisory)
- https://github.com/ash-project/ash/commit/14928412a1a94a69c47df8e98920d3a2b09cdec4 (patch)
References
- https://github.com/ash-project/ash/security/advisories/GHSA-mq7g-pffw-m8xh
- https://cna.erlef.org/cves/CVE-2026-82735.html
- https://osv.dev/vulnerability/EEF-CVE-2026-82735
- https://github.com/ash-project/ash/commit/05848d5f4affe60fddd812222a18ada080c0813b
- https://github.com/ash-project/ash/commit/14928412a1a94a69c47df8e98920d3a2b09cdec4
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.