Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 63%

CVE-2026-32689: CWE-770 Allocation of Resources Without Limits or Throttling in phoenixframework phoenix

0
High
VulnerabilityCVE-2026-32689cvecve-2026-32689cwe-770
Published: Tue May 05 2026 (05/05/2026, 15:17:30 UTC)
Source: CVE Database V5
Vendor/Project: phoenixframework
Product: phoenix

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. In '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. A 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. This issue affects phoenix: from 1.7.0 before 1.7.22 and 1.8.6.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Affected versions
=1.7.0=1.8.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/13/2026, 03:40:17 UTC

Technical Analysis

This vulnerability in phoenixframework phoenix affects the long-poll transport's NDJSON body handling in the function Elixir.Phoenix.Transports.LongPoll:publish/4. When processing a POST request with Content-Type application/x-ndjson, the request body is split on newline characters without limiting the number of segments. An attacker can exploit this by sending a body composed entirely of newline bytes, causing a large amplification in the number of list elements created. For example, a 1 MB body can produce approximately one million list elements, and an 8 MB body about 8.4 million. This leads to excessive memory and scheduler consumption on the BEAM virtual machine, crashing the node and terminating all active sessions. The session token required to access this endpoint can be obtained unauthenticated via a GET request with a matching Origin header, making the attack effectively unauthenticated. Affected versions include phoenix 1.7.0 through before 1.7.22 and 1.8.6.

Potential Impact

Successful exploitation results in denial of service by exhausting BEAM memory and schedulers, causing the phoenix node to crash and all active sessions to terminate. This disrupts availability of services relying on the affected phoenixframework versions. The attack requires no authentication, increasing the risk of exploitation. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, consider implementing request size limits or throttling on the long-poll transport endpoint to mitigate excessive resource consumption. Monitor vendor communications for updates on official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-03-13T09:12:14.475Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69fa191dcbff5d86100ff6c1

Added to database: 5/5/2026, 4:21:49 PM

Last enriched: 5/13/2026, 3:40:17 AM

Last updated: 6/20/2026, 7:34:28 AM

Views: 57

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses