Intel

AIKIDO-2026-680135

ash is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS)CVE-2026-82735 Published 2 days ago

59

Medium Risk

This Affects:

ELIXIRash
0.10.0 - 3.32.1
Fixed in 3.32.2
Are you affected? Scan for Free

TL;DR

The Ash.Type.String constraint checker runs a configured match regular expression against the full input even after the value has failed its length constraint. Constraints are combined without early termination, so an oversized untrusted input with a backtracking prone pattern still runs that expensive match, leading to high CPU use and denial of service. The fix skips the match regex once a length constraint is violated.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use string attributes with both a length constraint and a match regular expression on externally supplied input.

Background info

ash is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 0.10.0 - 3.32.1.

How to fix this

Upgrade the ash library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform