Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect via HTTP/2 to target
-
DeliverySend requests with unique :scheme values
-
ExploitTrigger String.to_atom on unsanitized input
-
ExecutionExhaust BEAM atom table
-
PersistVM aborts with system_limit
-
ImpactFull node outage
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | HTTP/2 must be enabled on the Cowboy listener configuration. The vulnerable code path is only triggered when clients connect via HTTP/2 and the :scheme pseudo-header is processed by :cowboy_req.scheme/1 and passed to String.to_atom/1. Applications configured to accept only HTTP/1.1 connections are not exploitable. No authentication, special privileges, or user interaction required (PR:N, UI:N in CVSS vector). Default plug_cowboy installations typically support HTTP/2 if the underlying Cowboy version and TLS configuration allow it, making many deployments vulnerable by default. Attack is not limited by rate limiting or WAF rules unless those systems specifically inspect and restrict HTTP/2 pseudo-headers, which is uncommon. |
| Impact | Real-world risk is HIGH for production Elixir applications using plug_cowboy 2.0.0-2.8.0 with HTTP/2 enabled. CVSS 8.7 correctly reflects the severity: AV:N (network-accessible), AC:L (trivial to exploit), PR:N (unauthenticated), VA:H (total availability loss). The attack is automatable - a single attacker can send scripted HTTP/2 requests with incrementing scheme values until the atom table fills. Unlike typical DoS requiring sustained traffic, this causes permanent VM termination requiring manual restart. EPSS data not provided, but exploitation likelihood is elevated given the low technical barrier and public disclosure in GitHub Security Advisory GHSA-q8x4-x7mp-5vg2. Not in CISA KEV suggests no confirmed mass exploitation yet, but the attack primitive is well-understood in the Erlang/Elixir community. SSVC: exploitation=public (documented in advisory), automatable=yes, technical_impact=total (node crash). This is a prioritize-now vulnerability for any internet-facing Elixir service using HTTP/2. |
| Exploit ScenarioDerived | An attacker writes a simple script using curl, h2load, or any HTTP/2 client library to send requests to the target Elixir application with incrementing :scheme pseudo-header values (e.g., :scheme: http-variant-00001, :scheme: http-variant-00002, etc.). Each unique value creates a new atom in the BEAM VM's atom table. After sending ~1 million unique requests (or fewer if the atom table is already partially filled by application logic), the atom table reaches system_limit. The Erlang VM aborts immediately, terminating the entire node and all services running on it. The attack requires no authentication, no special permissions, and can be executed from any network location that can reach the HTTP/2 endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 27, 2026
Atom table exhaustion in plug_cowboy 2.0.0-2.8.0 allows remote denial of service via HTTP/2. Unauthenticated attackers can crash the Erlang VM by sending HTTP/2 requests with unique :scheme pseudo-header values, permanently filling the non-garbage-collected atom table until the system_limit is reached. Affects only HTTP/2 connections; HTTP/1.1 is not vulnerable. CVSS 8.7 (High) with network attack vector, low complexity, and no required privileges. No active exploitation confirmed (not in CISA KEV), but exploit is trivial given the publicly documented attack mechanism in the GitHub advisory.
RemediationAI
Upgrade to plug_cowboy version 2.8.1 or later, which contains the fix from commit bfb34cb45eb354e56437f7023fb306de1bf9c19b (available at https://github.com/elixir-plug/plug_cowboy/commit/bfb34cb45eb354e56437f7023fb306de1bf9c19b). If immediate upgrade is not feasible, disable HTTP/2 support in Cowboy listener configuration as a temporary workaround - configure listeners to accept only HTTP/1.1 connections. This mitigation prevents the attack vector but sacrifices HTTP/2 performance benefits and may break clients requiring HTTP/2. Another option is to deploy a reverse proxy (nginx, HAProxy, Envoy) that terminates HTTP/2 and forwards only HTTP/1.1 to the backend plug_cowboy application, though this adds infrastructure complexity and latency. All workarounds should be considered temporary; upgrading to 2.8.1+ is the definitive fix. Review application dependency chains to ensure transitive dependencies also use the patched version.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in Plug.Cowboy.Conn.conn/1 (lib/plug/cowboy/conn.ex) within the plug_cowboy library, an Elixir adapter for the Cowboy HTTP server. The function calls String.to_atom/1 on the value returned by :cowboy_req.scheme/1. In HTTP/2, the underlying cowlib library passes the client-supplied :scheme pseudo-header directly without validation. Erlang/BEAM atoms are permanent identifiers stored in a fixed-size table (default 1,048,576 entries) and are never garbage-collected. This CWE-770 (Allocation of Resources Without Limits or Throttling) flaw allows attackers to exhaust this resource by creating unique atoms from each malicious request. HTTP/1.1 connections are unaffected because cowboy derives the scheme from the listener configuration rather than client input. The fix (commit bfb34cb) likely validates or sanitizes scheme values before atom conversion.
Know when Plug Cowboy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) · only source for this CVE.
CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Lifecycle Timeline
3DescriptionCVE.org
Allocation of Resources Without Limits or Throttling vulnerability in elixir-plug plug_cowboy allows unauthenticated remote denial of service via atom table exhaustion.
Plug.Cowboy.Conn.conn/1 in lib/plug/cowboy/conn.ex calls String.to_atom/1 on the value returned by :cowboy_req.scheme/1. For HTTP/2 connections, cowlib passes the client-supplied :scheme pseudo-header value through verbatim without validation. Each unique value permanently allocates a new entry in the BEAM atom table. Since atoms are never garbage-collected and the atom table has a fixed limit (default 1,048,576), an unauthenticated attacker can exhaust the table by sending HTTP/2 requests with unique :scheme values, causing the Erlang VM to abort with system_limit and taking down the entire node.
This vulnerability does not affect HTTP/1.1, where cowboy derives the scheme from the listener type rather than from a client-supplied header.
This issue affects plug_cowboy: from 2.0.0 before 2.8.1.
Executive ViewAI
plug_cowboy versions 2.0.0 through 2.8.0 contain a remote denial-of-service vulnerability in HTTP/2 handling that allows unauthenticated attackers to exhaust the Erlang atom table and crash the virtual machine. Organizations running these versions with HTTP/2 enabled face immediate availability risk, as the attack requires no authentication and can be executed trivially by any network-connected attacker.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable HTTP/2 protocol support and enforce HTTP/1.1 only; (2) Implement network-level rate limiting or request filtering on :scheme pseudo-header variation; (3) Configure Erlang VM atom table limits and system monitoring to detect and alert on atom table exhaustion; (4) Place affected applications behind a reverse proxy (e.g., nginx, HAProxy) configured to reject or normalize HTTP/2 requests with anomalous pseudo-headers.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-25845
GHSA-q8x4-x7mp-5vg2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB