{"vuln_id":"CVE-2026-82735","aliases":["GHSA-mq7g-pffw-m8xh"],"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.\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.","published_at":"2026-09-01T04:18:02.817000Z","modified_at":"2026-11-19T09:18:08.513000Z","first_seen_at":"2026-11-21T19:15:46.641571Z","severity":"medium","severity_source":"nvd","cvss_score":5.9,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-400"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00209,"epss_percentile":0.10985,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-82735"},"matched_alias":null,"items":[{"id":3465,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-82735: Uncontrolled Resource Consumption vulnerability in ash-project ash allows an attacker to force an expensive regular expression to run on input that a length co…","summary":"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.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-82735.html\nhttps://github.com/ash-project/ash/commit/05848d5f4affe60fddd812222a18ada080c0813b\nhttps://github.com/ash-project/ash/commit/14928412a1a94a69c47df8e98920d3a2b09cdec4\nhttps://github.com/ash-project/ash/security/advisories/GHSA-mq7g-pffw-m8xh\nhttps://osv.dev/vulnerability/EEF-CVE-2026-82735\nhttps://github.com/ash-project/ash/security/advisories/GHSA-mq7g-pffw-m8xh","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82735","published_at":"2026-09-01T04:18:02.817000Z","updated_at":"2026-11-19T09:18:08.513000Z","fetched_at":"2026-11-21T19:15:31.479043Z","severity":"medium","cvss_score":5.9,"epss":0.00209,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-82735","vuln_ids":["CVE-2026-82735","GHSA-MQ7G-PFFW-M8XH"],"tags":["CWE-400"],"cluster_id":3670,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3465","html":"https://vulnwatch.ve1ve2.com/item/3465"}}]}