PoC Monitor
← All CVEs
CVE-2026-32688published 27 Apr 2026 13:45 UTCData: JSON · API

Elixir-plug plug_cowboy

Atom table exhaustion via HTTP/2 :scheme pseudo-header in plug_cowboy

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-770
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

elixir-plug plug_cowboy
  • >= 2.0.0, < 2.8.1

Fixed in 2.8.1

elixir-plug plug_cowboy
  • >= 12ecfd024bb179d48b018fecf074e43fe6a19c83, < bfb34cb45eb354e56437f7023fb306de1bf9c19b

Fixed in bfb34cb45eb354e56437f7023fb306de1bf9c19b

Mitigation

Upgrade plug_cowboy to 2.8.1 or later.

Upgrade plug_cowboy to bfb34cb45eb354e56437f7023fb306de1bf9c19b or later.

Workaround

Disable HTTP/2 on the Plug.Cowboy.https/3 listener by passing protocol_options: %{protocols: [:http]} in the cowboy options. This restricts the listener to HTTP/1.1, where the scheme is derived from the listener type and is not attacker-controlled.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.