{"id":"CVE-2026-32688","aliases":["CVE-2026-32688","GHSA-q8x4-x7mp-5vg2","EEF-CVE-2026-32688"],"related":[],"kind":"vulnerability","state":"published","title":"Atom table exhaustion via HTTP/2 :scheme pseudo-header in plug_cowboy","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAn unauthenticated remote denial-of-service vulnerability in `Plug.Cowboy.Conn` allows any attacker who can reach an HTTPS Plug.Cowboy listener via HTTP/2 to permanently exhaust the BEAM atom table and crash the entire Erlang VM.\n\n## Am I Affected?\n\nAll users running plug_cowboy with HTTP/2 may be affected, this includes Phoenix applications. If another HTTP adapter such as Bandit is used, then the consuming project is not affected. If the HTTP/2 endpoint is exposed directly (without a proxy) then the project will be affected. If a proxy is in use then it depends on the proxy configuration. Many proxies use HTTP/1.1 internally, and would be unaffected.\n\n## Impact\n\nThe vulnerability will allow crashing the Erlang VM (BEAM) via atom exhaustion.\n\n## Mitigation\n\nUsers are advised to update to plug_cowboy v2.8.1 to mitigate this issue.\n\n## Credits\nPlug.Cowboy thanks Peter Ullrich for finding and responsibly disclosing this vulnerability.","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Summary\n\nAllocation of Resources Without Limits or Throttling vulnerability in elixir-plug plug_cowboy allows unauthenticated remote denial of service via atom table exhaustion.\n\n`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.\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.\n\n## Workarounds\n\nDisable 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.","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de asignación de recursos sin límites ni estrangulamiento en elixir-plug plug_cowboy permite la denegación de servicio remota no autenticada mediante el agotamiento de la tabla de átomos.\n\nPlug.Cowboy.Conn.conn/1 en lib/plug/cowboy/conn.ex llama a String.to_atom/1 sobre el valor devuelto por :cowboy_req.scheme/1. Para conexiones HTTP/2, cowlib pasa el valor del pseudo-encabezado :scheme suministrado por el cliente directamente sin validación. Cada valor único asigna permanentemente una nueva entrada en la tabla de átomos de BEAM. Dado que los átomos nunca son recolectados por el recolector de basura y la tabla de átomos tiene un límite fijo (predeterminado 1,048,576), un atacante no autenticado puede agotar la tabla enviando solicitudes HTTP/2 con valores :scheme únicos, haciendo que la VM de Erlang aborte con system_limit y derribe todo el nodo.\n\nEsta vulnerabilidad no afecta a HTTP/1.1, donde cowboy deriva el esquema del tipo de oyente en lugar de un encabezado suministrado por el cliente.\n\nEste problema afecta a plug_cowboy: desde 2.0.0 antes de 2.8.1.","source":"nvd"}],"published":"2026-04-27T13:45:35.160Z","modified":"2026-11-25T17:23:05.281Z","severity":{"scorer":"EEF","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS: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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0","fixed":"2.8.1","status":"affected"}],"vendor":"elixir-plug","product":"plug_cowboy","package":"plug_cowboy","cpe":"cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*","repo":"https://github.com/elixir-plug/plug_cowboy","source":"cvelist"},{"ranges":[{"type":"git","introduced":"12ecfd024bb179d48b018fecf074e43fe6a19c83","fixed":"bfb34cb45eb354e56437f7023fb306de1bf9c19b","status":"affected"}],"vendor":"elixir-plug","product":"plug_cowboy","package":"elixir-plug/plug_cowboy","cpe":"cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*","repo":"https://github.com/elixir-plug/plug_cowboy","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.8.1"}],"ecosystem":"Hex","package":"plug_cowboy","purl":"pkg:hex/plug_cowboy","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.8.1"}],"ecosystem":"Hex","package":"plug_cowboy","purl":"pkg:hex/plug_cowboy","source":"eef"},{"ranges":[{"type":"git","introduced":"12ecfd024bb179d48b018fecf074e43fe6a19c83","status":"affected","fixed":"bfb34cb45eb354e56437f7023fb306de1bf9c19b"}],"repo":"https://github.com/elixir-plug/plug_cowboy","source":"eef"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.8.1"}],"vendor":"elixir-plug","product":"plug.cowboy","cpe":"cpe:2.3:a:elixir-plug:plug.cowboy:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/elixir-plug/plug_cowboy/security/advisories/GHSA-q8x4-x7mp-5vg2","tags":["advisory","related","vendor-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-32688.html","tags":["related","third-party-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-32688","tags":["related","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/elixir-plug/plug_cowboy/commit/12ecfd024bb179d48b018fecf074e43fe6a19c83","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/elixir-plug/plug_cowboy/commit/bfb34cb45eb354e56437f7023fb306de1bf9c19b","tags":["fix","patch","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32688","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/elixir-plug/plug_cowboy","tags":["package"],"sources":["ghsa"]},{"url":"https://hex.pm/packages/plug_cowboy","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-27T19:04:33.154Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32688","url":"https://www.cve.org/CVERecord?id=CVE-2026-32688","licence":"CVE Terms of Use","modified":"2026-11-20T02:44:16.283Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q8x4-x7mp-5vg2","url":"https://github.com/advisories/GHSA-q8x4-x7mp-5vg2","licence":"CC-BY-4.0","modified":"2026-05-05T22:14:10.498Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-32688","url":"https://osv.dev/vulnerability/EEF-CVE-2026-32688","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:05.281Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32688","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32688","licence":"Public domain","modified":"2026-11-20T03:17:36.270Z"}],"updatedAt":"2026-11-25T22:59:19.659Z","epss":{"score":0.00692,"percentile":0.5413,"date":"2026-12-01T12:00:22.000Z"}}