{"id":"EEF-CVE-2026-82579","aliases":["CVE-2026-82579","GHSA-rcx7-x2w5-mmc2"],"title":"AshAi tool loop never terminates when all tool calls are filtered out, enabling denial of service","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nLoop 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.\n\n`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.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0.","severity":"medium","score":6,"published":"2026-08-31T01:07:49.185Z","modified":"2026-11-25T06:31:04.494Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"ash_ai","sources":[{"name":"OSV · EEF-CVE-2026-82579","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82579"}],"ranges":[{"events":[{"introduced":"0.6.0"},{"fixed":"1.0.0"}],"type":"SEMVER"}],"versions":["0.6.0","0.6.1","0.7.0","0.7.1","0.7.2","0.7.3","0.8.0","0.8.1","0.8.2"],"fixed":["1.0.0"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"bc2122f78fca6c11d8ec2b9ac53148ec17476460"},{"fixed":"53325fdab90afab628c6a53232ef2a9001580bd9"}],"type":"GIT","repo":"https://github.com/ash-project/ash_ai"}],"versions":["v0.8.2","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.1","v0.6.0"]}],"references":["https://github.com/ash-project/ash_ai/security/advisories/GHSA-rcx7-x2w5-mmc2","https://cna.erlef.org/cves/CVE-2026-82579.html","https://osv.dev/vulnerability/EEF-CVE-2026-82579","https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460","https://github.com/ash-project/ash_ai/commit/53325fdab90afab628c6a53232ef2a9001580bd9","https://hex.pm/packages/ash_ai"],"sources":[{"name":"CVE","id":"CVE-2026-82579","modified":"2026-11-19T08:39:33.860Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-82579"},{"name":"OSV","id":"EEF-CVE-2026-82579","modified":"2026-11-25T06:31:04.494481875Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82579"}],"assessments":[{"source":"EEF","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6}],"cve":{"records":[{"id":"CVE-2026-82579","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-30T20:00:01.852Z","published":"2026-08-31T01:07:49.185Z","modified":"2026-11-19T08:39:33.860Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:39:33.860Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-08-31T16:05:58.542Z"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-rcx7-x2w5-mmc2","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-82579.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82579","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_ai/commit/53325fdab90afab628c6a53232ef2a9001580bd9","tags":["patch"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-rcx7-x2w5-mmc2","tags":["exploit"],"source":"CISA-ADP"}],"weaknesses":[{"id":"CWE-835","description":"CWE-835 Loop with Unreachable Exit Condition","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.0","versionStartIncluding":"0.6.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-08-31T16:05:35.220018Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ash-project","name":"ash_ai","platforms":[],"versions":[{"version":"0.6.0","status":"affected","lessThan":"1.0.0","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/ash_ai","packageIdentity":{"ecosystem":"Hex","name":"ash_ai"},"cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82579"},{"vendor":"ash-project","name":"ash_ai","platforms":[],"versions":[{"version":"bc2122f78fca6c11d8ec2b9ac53148ec17476460","status":"affected","lessThan":"53325fdab90afab628c6a53232ef2a9001580bd9","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ash-project/ash_ai","cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82579"}],"remediation":[],"observedAt":"2026-11-25T07:18:01.430Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T01:15:31.312Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-19T09:30:32.383Z","attemptedAt":"2026-11-19T09:30:32.383Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-19T09:30:31.804Z","attemptedAt":"2026-11-19T09:30:31.804Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-19T09:30:32.383Z","attemptedAt":"2026-11-19T09:30:32.383Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-19T09:30:32.383Z","attemptedAt":"2026-11-19T09:30:32.383Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-82579","url":"https://www.first.org/epss/","probability":0.00466,"percentile":0.41003,"date":"2026-11-18","checkedAt":"2026-11-19T09:30:32.383Z"},{"source":"NVD","id":"CVE-2026-82579","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82579","modified":"2026-11-19T09:18:04.823","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/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","checkedAt":"2026-11-19T09:30:32.383Z"},{"source":"ENISA EUVD","id":"EUVD-2026-68307","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-68307","modified":"Aug 31, 2026, 4:05:58 PM","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","checkedAt":"2026-11-19T09:30:32.383Z"}],"aiSummary":null}