VDB
Sign up

EEF-CVE-2026-82579

AshAi tool loop never terminates when all tool calls are filtered out, enabling denial of service

Quick fix

EEF-CVE-2026-82579 — ash_ai: upgrade to the fixed version with the command below.

mix deps.update ash_ai

Details

## Summary

Loop with Unreachable Exit Condition (Infinite Loop) vulnerability in ash-project ash\_ai allows an attacker who can influence a model's output to hang the tool loop and drive unbounded, repeated model requests.

AshAi.ToolLoop classifies a model response of :tool\_calls, then filters the calls through normalize\_tool\_calls/2 and unprocessed\_tool\_calls/2. Both can empty the list: a call missing a valid name, or one reusing a tool\_call\_id that already has a result in history, is dropped. With an empty list the loop appended nothing and recursed with a byte-identical message list, so the conversation never advanced and the same request was re-sent every iteration. Under the supported max\_iterations: :infinity this never terminated; otherwise it exhausted the full budget. Prompt-injected content can make the model re-emit a spent tool\_call\_id. The fix treats an empty post-filter list as terminal.

This issue affects ash\_ai: from 0.6.0 before 1.0.0.

Are you affected?

Enter the version of the package you're using.

Affected packages

Hex/ash_ai
Introduced in: 0.6.0Fixed in: 1.0.0
Fixmix deps.update ash_ai

References