Search
Find a vulnerability
Search criteria
3 vulnerabilities found for plug.cowboy by elixir-plug
FKIE_CVE-2026-32688
Vulnerability from fkie_nvd - Published: 2026-04-27 14:16 - Updated: 2026-11-20 03:17
Severity
Summary
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.
References
Impacted products
| Vendor | Product | Version | |
|---|---|---|---|
| elixir-plug | plug.cowboy | * |
{
"affected": [
{
"affectedData": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Plug.Cowboy.Conn\u0027"
],
"packageName": "plug_cowboy",
"packageURL": "pkg:hex/plug_cowboy",
"product": "plug_cowboy",
"programFiles": [
"lib/plug/cowboy/conn.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Plug.Cowboy.Conn\u0027:conn/1"
}
],
"repo": "https://github.com/elixir-plug/plug_cowboy",
"vendor": "elixir-plug",
"versions": [
{
"lessThan": "2.8.1",
"status": "affected",
"version": "2.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Plug.Cowboy.Conn\u0027"
],
"packageName": "elixir-plug/plug_cowboy",
"packageURL": "pkg:github/elixir-plug/plug_cowboy",
"product": "plug_cowboy",
"programFiles": [
"lib/plug/cowboy/conn.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Plug.Cowboy.Conn\u0027:conn/1"
}
],
"repo": "https://github.com/elixir-plug/plug_cowboy",
"vendor": "elixir-plug",
"versions": [
{
"lessThan": "bfb34cb45eb354e56437f7023fb306de1bf9c19b",
"status": "affected",
"version": "12ecfd024bb179d48b018fecf074e43fe6a19c83",
"versionType": "git"
}
]
}
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:elixir-plug:plug.cowboy:*:*:*:*:*:*:*:*",
"matchCriteriaId": "D18EA080-8E40-4503-AA95-54EF882FE1D7",
"versionEndExcluding": "2.8.1",
"versionStartIncluding": "2.0.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Vulnerabilidad de asignaci\u00f3n de recursos sin l\u00edmites ni estrangulamiento en elixir-plug plug_cowboy permite la denegaci\u00f3n de servicio remota no autenticada mediante el agotamiento de la tabla de \u00e1tomos.\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\u00f3n. Cada valor \u00fanico asigna permanentemente una nueva entrada en la tabla de \u00e1tomos de BEAM. Dado que los \u00e1tomos nunca son recolectados por el recolector de basura y la tabla de \u00e1tomos tiene un l\u00edmite fijo (predeterminado 1,048,576), un atacante no autenticado puede agotar la tabla enviando solicitudes HTTP/2 con valores :scheme \u00fanicos, 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."
}
],
"id": "CVE-2026-32688",
"lastModified": "2026-11-20T03:17:36.270",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6,
"source": "nvd@nist.gov",
"type": "Primary"
}
],
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 8.7,
"baseSeverity": "HIGH",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-32688",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-04-27T19:04:33.154446Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-04-27T14:16:47.340",
"references": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Third Party Advisory"
],
"url": "https://cna.erlef.org/cves/CVE-2026-32688.html"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://github.com/elixir-plug/plug_cowboy/commit/12ecfd024bb179d48b018fecf074e43fe6a19c83"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Patch"
],
"url": "https://github.com/elixir-plug/plug_cowboy/commit/bfb34cb45eb354e56437f7023fb306de1bf9c19b"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Vendor Advisory"
],
"url": "https://github.com/elixir-plug/plug_cowboy/security/advisories/GHSA-q8x4-x7mp-5vg2"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"tags": [
"Third Party Advisory"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-32688"
}
],
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-770"
}
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary"
}
]
}
CVE-2026-32688 (GCVE-0-2026-32688)
Vulnerability from nvd – Published: 2026-04-27 13:45 – Updated: 2026-11-20 02:44
VLAI
EPSS
VEX
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.
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.
Severity
SSVC
Exploitation: none
Automatable: yes
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-04-27 19:04 UTC
CWE
- CWE-770 - Allocation of Resources Without Limits or Throttling
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/elixir-plug/plug_cowboy/securi… | vendor-advisoryrelated |
| https://cna.erlef.org/cves/CVE-2026-32688.html | related |
| https://osv.dev/vulnerability/EEF-CVE-2026-32688 | related |
| https://github.com/elixir-plug/plug_cowboy/commit… | related |
| https://github.com/elixir-plug/plug_cowboy/commit… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| elixir-plug | plug_cowboy |
Affected:
2.0.0 , < 2.8.1
(semver)
cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:* |
|
| elixir-plug | plug_cowboy |
Affected:
12ecfd024bb179d48b018fecf074e43fe6a19c83 , < bfb34cb45eb354e56437f7023fb306de1bf9c19b
(git)
cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:* |
Date Public
2026-04-27 13:45
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-32688",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-04-27T19:04:33.154446Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-04-27T20:11:22.651Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Plug.Cowboy.Conn\u0027"
],
"packageName": "plug_cowboy",
"packageURL": "pkg:hex/plug_cowboy",
"product": "plug_cowboy",
"programFiles": [
"lib/plug/cowboy/conn.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Plug.Cowboy.Conn\u0027:conn/1"
}
],
"repo": "https://github.com/elixir-plug/plug_cowboy",
"vendor": "elixir-plug",
"versions": [
{
"lessThan": "2.8.1",
"status": "affected",
"version": "2.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Plug.Cowboy.Conn\u0027"
],
"packageName": "elixir-plug/plug_cowboy",
"packageURL": "pkg:github/elixir-plug/plug_cowboy",
"product": "plug_cowboy",
"programFiles": [
"lib/plug/cowboy/conn.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Plug.Cowboy.Conn\u0027:conn/1"
}
],
"repo": "https://github.com/elixir-plug/plug_cowboy",
"vendor": "elixir-plug",
"versions": [
{
"lessThan": "bfb34cb45eb354e56437f7023fb306de1bf9c19b",
"status": "affected",
"version": "12ecfd024bb179d48b018fecf074e43fe6a19c83",
"versionType": "git"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*",
"versionEndExcluding": "2.8.1",
"versionStartIncluding": "2.0.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Peter Ullrich"
}
],
"datePublic": "2026-04-27T13:45:35.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in elixir-plug plug_cowboy allows unauthenticated remote denial of service via atom table exhaustion.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ePlug.Cowboy.Conn.conn/1\u003c/code\u003e in \u003ccode\u003elib/plug/cowboy/conn.ex\u003c/code\u003e calls \u003ccode\u003eString.to_atom/1\u003c/code\u003e on the value returned by \u003ccode\u003e:cowboy_req.scheme/1\u003c/code\u003e. For HTTP/2 connections, cowlib passes the client-supplied \u003ccode\u003e:scheme\u003c/code\u003e 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 \u003ccode\u003e:scheme\u003c/code\u003e values, causing the Erlang VM to abort with \u003ccode\u003esystem_limit\u003c/code\u003e and taking down the entire node.\u003c/p\u003e\n\u003cp\u003eThis vulnerability does not affect HTTP/1.1, where cowboy derives the scheme from the listener type rather than from a client-supplied header.\u003c/p\u003e\n\u003cp\u003eThis issue affects plug_cowboy: from 2.0.0 before 2.8.1.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Allocation 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."
}
],
"value": "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."
}
],
"impacts": [
{
"capecId": "CAPEC-125",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-125 Flooding"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 8.7,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-770",
"description": "CWE-770 Allocation of Resources Without Limits or Throttling",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-20T02:44:16.283Z",
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"shortName": "EEF"
},
"references": [
{
"name": "Unauthenticated remote DoS in Plug.Cowboy via HTTP/2 `:scheme` atom-table exhaustion",
"tags": [
"vendor-advisory",
"related"
],
"url": "https://github.com/elixir-plug/plug_cowboy/security/advisories/GHSA-q8x4-x7mp-5vg2"
},
{
"name": "EEF CNA record for CVE-2026-32688",
"tags": [
"related"
],
"url": "https://cna.erlef.org/cves/CVE-2026-32688.html"
},
{
"name": "OSV record EEF-CVE-2026-32688",
"tags": [
"related"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-32688"
},
{
"name": "Introducing commit 12ecfd0 in elixir-plug/plug_cowboy",
"tags": [
"related"
],
"url": "https://github.com/elixir-plug/plug_cowboy/commit/12ecfd024bb179d48b018fecf074e43fe6a19c83"
},
{
"name": "Fix commit bfb34cb in elixir-plug/plug_cowboy",
"tags": [
"patch"
],
"url": "https://github.com/elixir-plug/plug_cowboy/commit/bfb34cb45eb354e56437f7023fb306de1bf9c19b"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Atom table exhaustion via HTTP/2 :scheme pseudo-header in plug_cowboy",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eDisable HTTP/2 on the \u003ccode\u003ePlug.Cowboy.https/3\u003c/code\u003e listener by passing \u003ccode\u003eprotocol_options: %{protocols: [:http]}\u003c/code\u003e 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.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "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."
}
],
"value": "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."
}
]
}
},
"cveMetadata": {
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"assignerShortName": "EEF",
"cveId": "CVE-2026-32688",
"datePublished": "2026-04-27T13:45:35.160Z",
"dateReserved": "2026-03-13T09:12:14.475Z",
"dateUpdated": "2026-11-20T02:44:16.283Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-32688 (GCVE-0-2026-32688)
Vulnerability from cvelistv5 – Published: 2026-04-27 13:45 – Updated: 2026-11-20 02:44
VLAI
EPSS
VEX
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.
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.
Severity
SSVC
Exploitation: none
Automatable: yes
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-04-27 19:04 UTC
CWE
- CWE-770 - Allocation of Resources Without Limits or Throttling
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/elixir-plug/plug_cowboy/securi… | vendor-advisoryrelated |
| https://cna.erlef.org/cves/CVE-2026-32688.html | related |
| https://osv.dev/vulnerability/EEF-CVE-2026-32688 | related |
| https://github.com/elixir-plug/plug_cowboy/commit… | related |
| https://github.com/elixir-plug/plug_cowboy/commit… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| elixir-plug | plug_cowboy |
Affected:
2.0.0 , < 2.8.1
(semver)
cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:* |
|
| elixir-plug | plug_cowboy |
Affected:
12ecfd024bb179d48b018fecf074e43fe6a19c83 , < bfb34cb45eb354e56437f7023fb306de1bf9c19b
(git)
cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:* |
Date Public
2026-04-27 13:45
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-32688",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-04-27T19:04:33.154446Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-04-27T20:11:22.651Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Plug.Cowboy.Conn\u0027"
],
"packageName": "plug_cowboy",
"packageURL": "pkg:hex/plug_cowboy",
"product": "plug_cowboy",
"programFiles": [
"lib/plug/cowboy/conn.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Plug.Cowboy.Conn\u0027:conn/1"
}
],
"repo": "https://github.com/elixir-plug/plug_cowboy",
"vendor": "elixir-plug",
"versions": [
{
"lessThan": "2.8.1",
"status": "affected",
"version": "2.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Plug.Cowboy.Conn\u0027"
],
"packageName": "elixir-plug/plug_cowboy",
"packageURL": "pkg:github/elixir-plug/plug_cowboy",
"product": "plug_cowboy",
"programFiles": [
"lib/plug/cowboy/conn.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Plug.Cowboy.Conn\u0027:conn/1"
}
],
"repo": "https://github.com/elixir-plug/plug_cowboy",
"vendor": "elixir-plug",
"versions": [
{
"lessThan": "bfb34cb45eb354e56437f7023fb306de1bf9c19b",
"status": "affected",
"version": "12ecfd024bb179d48b018fecf074e43fe6a19c83",
"versionType": "git"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:elixir-plug:plug_cowboy:*:*:*:*:*:*:*:*",
"versionEndExcluding": "2.8.1",
"versionStartIncluding": "2.0.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Peter Ullrich"
}
],
"datePublic": "2026-04-27T13:45:35.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in elixir-plug plug_cowboy allows unauthenticated remote denial of service via atom table exhaustion.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ePlug.Cowboy.Conn.conn/1\u003c/code\u003e in \u003ccode\u003elib/plug/cowboy/conn.ex\u003c/code\u003e calls \u003ccode\u003eString.to_atom/1\u003c/code\u003e on the value returned by \u003ccode\u003e:cowboy_req.scheme/1\u003c/code\u003e. For HTTP/2 connections, cowlib passes the client-supplied \u003ccode\u003e:scheme\u003c/code\u003e 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 \u003ccode\u003e:scheme\u003c/code\u003e values, causing the Erlang VM to abort with \u003ccode\u003esystem_limit\u003c/code\u003e and taking down the entire node.\u003c/p\u003e\n\u003cp\u003eThis vulnerability does not affect HTTP/1.1, where cowboy derives the scheme from the listener type rather than from a client-supplied header.\u003c/p\u003e\n\u003cp\u003eThis issue affects plug_cowboy: from 2.0.0 before 2.8.1.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Allocation 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."
}
],
"value": "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."
}
],
"impacts": [
{
"capecId": "CAPEC-125",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-125 Flooding"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 8.7,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-770",
"description": "CWE-770 Allocation of Resources Without Limits or Throttling",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-20T02:44:16.283Z",
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"shortName": "EEF"
},
"references": [
{
"name": "Unauthenticated remote DoS in Plug.Cowboy via HTTP/2 `:scheme` atom-table exhaustion",
"tags": [
"vendor-advisory",
"related"
],
"url": "https://github.com/elixir-plug/plug_cowboy/security/advisories/GHSA-q8x4-x7mp-5vg2"
},
{
"name": "EEF CNA record for CVE-2026-32688",
"tags": [
"related"
],
"url": "https://cna.erlef.org/cves/CVE-2026-32688.html"
},
{
"name": "OSV record EEF-CVE-2026-32688",
"tags": [
"related"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-32688"
},
{
"name": "Introducing commit 12ecfd0 in elixir-plug/plug_cowboy",
"tags": [
"related"
],
"url": "https://github.com/elixir-plug/plug_cowboy/commit/12ecfd024bb179d48b018fecf074e43fe6a19c83"
},
{
"name": "Fix commit bfb34cb in elixir-plug/plug_cowboy",
"tags": [
"patch"
],
"url": "https://github.com/elixir-plug/plug_cowboy/commit/bfb34cb45eb354e56437f7023fb306de1bf9c19b"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Atom table exhaustion via HTTP/2 :scheme pseudo-header in plug_cowboy",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eDisable HTTP/2 on the \u003ccode\u003ePlug.Cowboy.https/3\u003c/code\u003e listener by passing \u003ccode\u003eprotocol_options: %{protocols: [:http]}\u003c/code\u003e 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.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "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."
}
],
"value": "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."
}
]
}
},
"cveMetadata": {
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"assignerShortName": "EEF",
"cveId": "CVE-2026-32688",
"datePublished": "2026-04-27T13:45:35.160Z",
"dateReserved": "2026-03-13T09:12:14.475Z",
"dateUpdated": "2026-11-20T02:44:16.283Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}