CVE-2026-82735
Last modified
CVE-2026-82735 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ash-project | ash | >= 0.10.0, < 3.32.2 |
| ash-project | ash | >= 05848d5f4affe60fddd812222a18ada080c0813b, < 14928412a1a94a69c47df8e98920d3a2b09cdec4 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-82735?
How severe is CVE-2026-82735?
How do I fix CVE-2026-82735?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8273A weakness has been identified in D-Link DNS-320 2.06B01. Th…7.2
- CVE-2026-82730Incorrect Authorization vulnerability in ash-project ash_typ…8.2
- CVE-2026-82731URL Redirection to Untrusted Site ('Open Redirect') vulnerab…2.3
- CVE-2026-82732Improper Input Validation vulnerability in ash-project ash_t…6.3
- CVE-2026-82733Generation of Error Message Containing Sensitive Information…6.3
- CVE-2026-82734Improper Validation of Specified Quantity in Input vulnerabi…2.1
- CVE-2026-82736Incorrect Behavior Order: Validate Before Canonicalize vulne…2.1
- CVE-2026-82737Integer Overflow or Wraparound vulnerability in ash-project …5.9
- CVE-2026-82738Improper Input Validation vulnerability in ash-project ash a…5.9
- CVE-2026-82739Generation of Error Message Containing Sensitive Information…2.1
- CVE-2026-8274A security vulnerability has been detected in npitre cramfs-…5.3
- CVE-2026-82740Improper Input Validation vulnerability in ash-project ash f…2.1
Are you affected by CVE-2026-82735?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
