{"id":"CVE-2026-82735","published":"2026-09-01T03:19:36Z","modified":"2026-11-19T08:37:26Z","title":"Match regex runs on over-length input in Ash.Type.String, enabling regex denial of service","vendor":"ash-project","product":"ash","tier":"tail","description":{"text":"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.\n\nAsh.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.\n\nThis issue affects ash: from 0.10.0 before 3.32.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0018,"percentile":0.04456,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-mq7g-pffw-m8xh","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82735.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82735","tags":["related"]},{"url":"https://github.com/ash-project/ash/commit/05848d5f4affe60fddd812222a18ada080c0813b","tags":["related"]},{"url":"https://github.com/ash-project/ash/commit/14928412a1a94a69c47df8e98920d3a2b09cdec4","tags":["patch"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":0.89},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"ash-project","affectedVersions":[{"vendor":"ash-project","product":"ash","versions":[">= 0.10.0, < 3.32.2"]},{"vendor":"ash-project","product":"ash","versions":[">= 05848d5f4affe60fddd812222a18ada080c0813b, < 14928412a1a94a69c47df8e98920d3a2b09cdec4"]}],"capec":[{"id":"CAPEC-492","name":"Regular Expression Exponential Blowup"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-01T13:10:30.868246Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-68962","exploited":false,"provenance":"source"}}