Security mailing lists by PureSourceCode

CVE-2026-82735

MEDIUM 5.9CVSS 4.0

Match 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.

Published
1 Sep 2026
Last modified
25 Nov 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Deferred
Weakness
CWE-400
Also known as
EEF-CVE-2026-82735GHSA-mq7g-pffw-m8xh
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-82735JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 MEDIUM 5.9 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
CVE List EEF CVSS 4.0 MEDIUM 5.9 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
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
>= 0.10.0, < 3.32.2 3.32.2
CVE List https://github.com ash-project/ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
>= 05848d5f4affe60fddd812222a18ada080c0813b, < 14928412a1a94a69c47df8e98920d3a2b09cdec4 14928412a1a94a69c47df8e98920d3a2b09cdec4
OSV Hex ash >= 0.10.0, < 3.32.2 3.32.2

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Sep 2026)
  • 25 Nov 2026 20:11 UTC · CVE List: first stored (published 1 Sep 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 1 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.