{"answers":{"affected":"5 open source packages ship an affected version, including phoenix.","exploited":"There is no known exploitation of CVE-2026-32689 in the wild and no public exploit code.","fix":"Upgrade phoenix to a fixed version for your release line: 1.7.22 or 1.8.6.","what":"CVE-2026-32689 is a high-severity denial of service vulnerability in phoenixframework phoenix, published on 5 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-32689 and fix it if it is affected.\n\nWhat it is: CVE-2026-32689 is a high-severity denial of service vulnerability in phoenixframework phoenix, published on 5 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-32689 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- phoenix (Hex): affected from 1.7.0; fixed in 1.7.22, 1.8.6\n- phoenix (Hex): affected from 1.7.0; fixed in 1.7.22\n- phoenix (Hex): affected from 1.7.0; fixed in 1.7.22\n- phoenix (Hex): affected from 1.8.0; fixed in 1.8.6\n- phoenix (Hex): affected from 1.8.0; fixed in 1.8.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-32689/ (Markdown: https://insights.sbomify.com/CVE-2026-32689/index.md)","id":"CVE-2026-32689","markdown":"https://insights.sbomify.com/CVE-2026-32689/index.md","name":"CVE-2026-32689","record":{"aliases":["EEF-CVE-2026-32689","GHSA-628h-q48j-jr6q"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Phoenix web framework","requires_auth":"none","summary":"An attacker can crash the Phoenix server by sending a large NDJSON body to the long-poll transport, causing unbounded memory allocation.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"Allocation of Resources Without Limits or Throttling vulnerability in phoenixframework phoenix allows a denial of service via the long-poll transport's NDJSON body handling.\n\nIn 'Elixir.Phoenix.Transports.LongPoll':publish/4, when a POST request is received with Content-Type: application/x-ndjson, the request body is split on newline characters using String.split/2 with no limit on the number of resulting segments. An attacker can send a body consisting entirely of newline bytes, causing a 1:1 amplification into a list of empty binaries — a 1 MB body produces approximately one million list elements, an 8 MB body approximately 8.4 million. Each element is then walked by Enum.map, materializing another list of the same size. This exhausts BEAM memory and schedulers, crashing the node and terminating all active sessions.\n\nA session token required to reach the vulnerable endpoint is freely obtainable by any client via an unauthenticated GET request to the same URL with a matching Origin header, making this attack effectively unauthenticated.\n\nThis issue affects phoenix: from 1.7.0 before 1.7.22 and 1.8.6.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Long-poll NDJSON body splitting causes unbounded memory allocation in Phoenix","id":"CVE-2026-32689","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":5,"n_references":5,"next":{"headline":"Apache Airflow: 3.x - Nested Variable Secret Values Bypass Redaction via max_depth=1","id":"CVE-2026-32690"},"packages":[{"ecosystem":"Hex","fixed":["1.7.22","1.8.6"],"introduced":["1.7.0","1.8.0"],"last_affected":[],"package":"phoenix","purl":"pkg:hex/phoenix","source":"EEF-CVE-2026-32689"},{"ecosystem":"Hex","fixed":["1.7.22"],"introduced":["1.7.0"],"last_affected":[],"package":"phoenix","purl":null,"source":"GHSA-628h-q48j-jr6q"},{"ecosystem":"Hex","fixed":["1.7.22"],"introduced":["1.7.0"],"last_affected":[],"package":"phoenix","purl":"pkg:hex/phoenix","source":"GHSA-628h-q48j-jr6q"},{"ecosystem":"Hex","fixed":["1.8.6"],"introduced":["1.8.0"],"last_affected":[],"package":"phoenix","purl":null,"source":"GHSA-628h-q48j-jr6q"},{"ecosystem":"Hex","fixed":["1.8.6"],"introduced":["1.8.0"],"last_affected":[],"package":"phoenix","purl":"pkg:hex/phoenix","source":"GHSA-628h-q48j-jr6q"}],"prev":{"headline":"Atom table exhaustion via HTTP/2 :scheme pseudo-header in plug_cowboy","id":"CVE-2026-32688"},"products":["phoenix"],"published":"2026-05-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-07","vendors":["phoenixframework"]},"summary":"An attacker can crash the Phoenix server by sending a large NDJSON body to the long-poll transport, causing unbounded memory allocation.","url":"https://insights.sbomify.com/CVE-2026-32689/"}