{"id":"CVE-2026-32688","published":"2026-04-27T13:45:35Z","modified":"2026-11-20T02:44:16Z","title":"Atom table exhaustion via HTTP/2 :scheme pseudo-header in plug_cowboy","vendor":"elixir-plug","product":"plug_cowboy","tier":"tail","description":{"text":"Allocation of Resources Without Limits or Throttling vulnerability in elixir-plug plug_cowboy allows unauthenticated remote denial of service via atom table exhaustion.\n\nPlug.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.\n\nThis vulnerability does not affect HTTP/1.1, where cowboy derives the scheme from the listener type rather than from a client-supplied header.\n\nThis issue affects plug_cowboy: from 2.0.0 before 2.8.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00809,"percentile":0.53764,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/elixir-plug/plug_cowboy/security/advisories/GHSA-q8x4-x7mp-5vg2","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-32688.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-32688","tags":["related"]},{"url":"https://github.com/elixir-plug/plug_cowboy/commit/12ecfd024bb179d48b018fecf074e43fe6a19c83","tags":["related"]},{"url":"https://github.com/elixir-plug/plug_cowboy/commit/bfb34cb45eb354e56437f7023fb306de1bf9c19b","tags":["patch"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":10.75},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"elixir-plug","affectedVersions":[{"vendor":"elixir-plug","product":"plug_cowboy","versions":[">= 2.0.0, < 2.8.1"]},{"vendor":"elixir-plug","product":"plug_cowboy","versions":[">= 12ecfd024bb179d48b018fecf074e43fe6a19c83, < bfb34cb45eb354e56437f7023fb306de1bf9c19b"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-125","name":"Flooding"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-27T19:04:33.154446Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"plug_cowboy","vulnerableRanges":[">=2.0.0, <2.8.1"],"patched":["2.8.1"],"from":["GHSA-q8x4-x7mp-5vg2"],"provenance":"source"}],"summary":{"text":"A flaw in plug_cowboy (elixir-plug) causes Plug.Cowboy.Conn.conn/1 to convert the client-supplied HTTP/2 :scheme pseudo-header into an atom without validation, so each unique value permanently allocates an entry in the BEAM atom table. An unauthenticated remote attacker who can send HTTP/2 requests to the server can exhaust that table with unique :scheme values, crashing the Erlang VM and taking down the entire node; HTTP/1.1 connections are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:13Z"},"euvd":{"id":"EUVD-2026-25845","exploited":false,"provenance":"source"}}