{"containers":{"cna":{"affected":[{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:handnot2:esaml:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["esaml","esaml_sp","esaml_cowboy"],"packageName":"handnot2/esaml","packageURL":"pkg:github/handnot2/esaml","product":"esaml","programFiles":["src/esaml.erl","src/esaml_sp.erl","src/esaml_cowboy.erl"],"programRoutines":[{"name":"esaml:status_code_map/1"},{"name":"esaml:decode_logout_response/1"},{"name":"esaml_sp:validate_logout_response/2"},{"name":"esaml_cowboy:validate_logout/2"}],"repo":"https://github.com/handnot2/esaml","vendor":"handnot2","versions":[{"lessThan":"*","status":"affected","version":"be692b56245071899757afa7ef47e43593d3de96","versionType":"git"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:arekinath:esaml:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["esaml","esaml_sp","esaml_cowboy"],"packageName":"arekinath/esaml","packageURL":"pkg:github/arekinath/esaml","product":"esaml","programFiles":["src/esaml.erl","src/esaml_sp.erl","src/esaml_cowboy.erl"],"programRoutines":[{"name":"esaml:status_code_map/1"},{"name":"esaml:decode_logout_response/1"},{"name":"esaml_sp:validate_logout_response/2"},{"name":"esaml_cowboy:validate_logout/2"}],"repo":"https://github.com/arekinath/esaml","vendor":"arekinath","versions":[{"lessThan":"*","status":"affected","version":"be692b56245071899757afa7ef47e43593d3de96","versionType":"git"}]},{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:dropbox:esaml:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["esaml","esaml_sp","esaml_cowboy"],"packageName":"esaml","packageURL":"pkg:hex/esaml","product":"esaml","programFiles":["src/esaml.erl","src/esaml_sp.erl","src/esaml_cowboy.erl"],"programRoutines":[{"name":"esaml:status_code_map/1"},{"name":"esaml:decode_logout_response/1"},{"name":"esaml_sp:validate_logout_response/2"},{"name":"esaml_cowboy:validate_logout/2"}],"repo":"https://github.com/dropbox/esaml","vendor":"dropbox","versions":[{"lessThan":"*","status":"affected","version":"0.1.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:dropbox:esaml:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["esaml","esaml_sp","esaml_cowboy"],"packageName":"dropbox/esaml","packageURL":"pkg:github/dropbox/esaml","product":"esaml","programFiles":["src/esaml.erl","src/esaml_sp.erl","src/esaml_cowboy.erl"],"programRoutines":[{"name":"esaml:status_code_map/1"},{"name":"esaml:decode_logout_response/1"},{"name":"esaml_sp:validate_logout_response/2"},{"name":"esaml_cowboy:validate_logout/2"}],"repo":"https://github.com/dropbox/esaml","vendor":"dropbox","versions":[{"lessThan":"*","status":"affected","version":"be692b56245071899757afa7ef47e43593d3de96","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Reachable only where the service provider exposes a single-logout endpoint that hands incoming <code>LogoutResponse</code> messages to <code>esaml_sp:validate_logout_response/2</code>, directly or through <code>esaml_cowboy:validate_logout/2</code>. The consume (ACS) path verifies signatures before decoding and does not reach the status code mapping.</p>"},{"base64":false,"type":"text/markdown","value":"Reachable only where the service provider exposes a single-logout endpoint that hands incoming `LogoutResponse` messages to `esaml_sp:validate_logout_response/2`, directly or through `esaml_cowboy:validate_logout/2`. The consume (ACS) path verifies signatures before decoding and does not reach the status code mapping."}],"value":"Reachable only where the service provider exposes a single-logout endpoint that hands incoming LogoutResponse messages to esaml_sp:validate_logout_response/2, directly or through esaml_cowboy:validate_logout/2. The consume (ACS) path verifies signatures before decoding and does not reach the status code mapping."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:handnot2:esaml:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","vulnerable":true},{"criteria":"cpe:2.3:a:dropbox:esaml:*:*:*:*:*:*:*:*","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Quinn Wilton"},{"lang":"en","type":"reporter","value":"Quinn Wilton"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"dateAssigned":"2026-10-08T14:39:37.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Allocation of Resources Without Limits or Throttling vulnerability in <code>esaml</code> in dropbox esaml allows an unauthenticated attacker to exhaust the Erlang VM atom table and crash the node via unsigned <code>LogoutResponse</code> messages.</p>\n<p><code>esaml:status_code_map/1</code> in <code>src/esaml.erl</code> maps any <code>StatusCode</code> value it does not recognize to an atom with <code>list_to_atom/1</code> on the last colon-separated segment of the URN. <code>esaml_sp:validate_logout_response/2</code> verifies a signature only when the message carries one, so an unsigned <code>LogoutResponse</code> posted to the single-logout endpoint reaches <code>esaml:decode_logout_response/1</code> and mints one permanent atom per distinct status value. Atoms are never reclaimed and the VM caps the atom table at about one million entries, so an attacker who posts that many distinct values aborts the node.</p>\n<p>This issue affects esaml: from 0.1.0 onward.</p>"},{"base64":false,"type":"text/markdown","value":"Allocation of Resources Without Limits or Throttling vulnerability in `esaml` in dropbox esaml allows an unauthenticated attacker to exhaust the Erlang VM atom table and crash the node via unsigned `LogoutResponse` messages.\n\n`esaml:status_code_map/1` in `src/esaml.erl` maps any `StatusCode` value it does not recognize to an atom with `list_to_atom/1` on the last colon-separated segment of the URN. `esaml_sp:validate_logout_response/2` verifies a signature only when the message carries one, so an unsigned `LogoutResponse` posted to the single-logout endpoint reaches `esaml:decode_logout_response/1` and mints one permanent atom per distinct status value. Atoms are never reclaimed and the VM caps the atom table at about one million entries, so an attacker who posts that many distinct values aborts the node.\n\nThis issue affects esaml: from 0.1.0 onward."}],"value":"Allocation of Resources Without Limits or Throttling vulnerability in esaml in dropbox esaml allows an unauthenticated attacker to exhaust the Erlang VM atom table and crash the node via unsigned LogoutResponse messages.\n\nesaml:status_code_map/1 in src/esaml.erl maps any StatusCode value it does not recognize to an atom with list_to_atom/1 on the last colon-separated segment of the URN. esaml_sp:validate_logout_response/2 verifies a signature only when the message carries one, so an unsigned LogoutResponse posted to the single-logout endpoint reaches esaml:decode_logout_response/1 and mints one permanent atom per distinct status value. Atoms are never reclaimed and the VM caps the atom table at about one million entries, so an attacker who posts that many distinct values aborts the node.\n\nThis issue affects esaml: from 0.1.0 onward."}],"impacts":[{"capecId":"CAPEC-125","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>An unauthenticated attacker posts unsigned <code>LogoutResponse</code> messages with distinct status code URNs to a service provider's single-logout endpoint. Each message permanently consumes one atom table entry, and about one million of them abort the Erlang VM, denying service to every user of the service provider.</p>"},{"base64":false,"type":"text/markdown","value":"An unauthenticated attacker posts unsigned `LogoutResponse` messages with distinct status code URNs to a service provider's single-logout endpoint. Each message permanently consumes one atom table entry, and about one million of them abort the Erlang VM, denying service to every user of the service provider."}],"value":"An unauthenticated attacker posts unsigned LogoutResponse messages with distinct status code URNs to a service provider's single-logout endpoint. Each message permanently consumes one atom table entry, and about one million of them abort the Erlang VM, denying service to every user of the service provider."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"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:P/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-10-22T06:59:07.680Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"EEF CNA record for CVE-2026-86696","tags":["related","third-party-advisory"],"url":"https://cna.erlef.org/cves/CVE-2026-86696.html"},{"name":"OSV record EEF-CVE-2026-86696","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-86696"},{"name":"Introducing commit be692b5 in handnot2/esaml","tags":["related"],"url":"https://github.com/handnot2/esaml/commit/be692b56245071899757afa7ef47e43593d3de96"},{"name":"Introducing commit be692b5 in arekinath/esaml","tags":["related"],"url":"https://github.com/arekinath/esaml/commit/be692b56245071899757afa7ef47e43593d3de96"},{"name":"Introducing commit be692b5 in dropbox/esaml","tags":["related","broken-link"],"url":"https://github.com/dropbox/esaml/commit/be692b56245071899757afa7ef47e43593d3de96"}],"source":{"discovery":"EXTERNAL"},"title":"Unbounded atom creation from unsigned LogoutResponse status codes in esaml allows atom table exhaustion","x_proofOfConcept":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ol>\n<li>Build an unsigned <code>samlp:LogoutResponse</code> document with <code>Version=\"2.0\"</code>, any <code>IssueInstant</code>, and a <code>samlp:Status/samlp:StatusCode</code> whose <code>Value</code> is a fresh URN such as <code>urn:x:&lt;unique token&gt;</code>.</li>\n<li>Deflate and base64-encode it, and post it to the service provider's single-logout endpoint as the <code>SAMLResponse</code> form field with <code>SAMLEncoding</code> set to the DEFLATE URI.</li>\n<li><code>esaml_sp:validate_logout_response/2</code> skips signature verification because none is present, <code>esaml:decode_logout_response/1</code> maps the status through <code>status_code_map/1</code>, and the atom table grows by one entry per distinct token. The endpoint answers with an error, but the atom is never reclaimed. Repeat with fresh tokens until the VM aborts.</li>\n</ol>"},{"base64":false,"type":"text/markdown","value":"1. Build an unsigned `samlp:LogoutResponse` document with `Version=\"2.0\"`, any `IssueInstant`, and a `samlp:Status/samlp:StatusCode` whose `Value` is a fresh URN such as `urn:x:<unique token>`.\n2. Deflate and base64-encode it, and post it to the service provider's single-logout endpoint as the `SAMLResponse` form field with `SAMLEncoding` set to the DEFLATE URI.\n3. `esaml_sp:validate_logout_response/2` skips signature verification because none is present, `esaml:decode_logout_response/1` maps the status through `status_code_map/1`, and the atom table grows by one entry per distinct token. The endpoint answers with an error, but the atom is never reclaimed. Repeat with fresh tokens until the VM aborts."}],"value":"* Build an unsigned samlp:LogoutResponse document with Version=\"2.0\", any IssueInstant, and a samlp:Status/samlp:StatusCode whose Value is a fresh URN such as urn:x:<unique token>.\n* Deflate and base64-encode it, and post it to the service provider's single-logout endpoint as the SAMLResponse form field with SAMLEncoding set to the DEFLATE URI.\n* esaml_sp:validate_logout_response/2 skips signature verification because none is present, esaml:decode_logout_response/1 maps the status through status_code_map/1, and the atom table grows by one entry per distinct token. The endpoint answers with an error, but the atom is never reclaimed. Repeat with fresh tokens until the VM aborts."}],"x_technicalAnalysis":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><strong>1. Input.</strong> The single-logout endpoint in <code>esaml_cowboy:validate_logout/2</code> reads the request body, decodes the <code>SAMLResponse</code> form field with <code>esaml_binding:decode_response/2</code>, and passes a <code>samlp:LogoutResponse</code> document to <code>esaml_sp:validate_logout_response/2</code>.</p>\n<p><strong>2. No signature required.</strong> <code>validate_logout_response/2</code> looks for a <code>ds:Signature</code> element and verifies it only when one is present. An unsigned document passes through unchanged to <code>esaml:decode_logout_response/1</code>, which requires only the <code>Version</code> and <code>IssueInstant</code> attributes before mapping the <code>StatusCode</code> value.</p>\n<p><strong>3. Interning.</strong> <code>esaml:status_code_map/1</code> matches six known SAML status URNs to fixed atoms. Any other value starting with <code>urn:</code> falls through to a clause that interns the last colon-separated segment with <code>list_to_atom/1</code>. The attacker chooses that segment, so each request with a fresh value mints one permanent atom. The VM aborts when the atom table reaches its limit of about one million entries.</p>"},{"base64":false,"type":"text/markdown","value":"**1. Input.** The single-logout endpoint in `esaml_cowboy:validate_logout/2` reads the request body, decodes the `SAMLResponse` form field with `esaml_binding:decode_response/2`, and passes a `samlp:LogoutResponse` document to `esaml_sp:validate_logout_response/2`.\n\n**2. No signature required.** `validate_logout_response/2` looks for a `ds:Signature` element and verifies it only when one is present. An unsigned document passes through unchanged to `esaml:decode_logout_response/1`, which requires only the `Version` and `IssueInstant` attributes before mapping the `StatusCode` value.\n\n**3. Interning.** `esaml:status_code_map/1` matches six known SAML status URNs to fixed atoms. Any other value starting with `urn:` falls through to a clause that interns the last colon-separated segment with `list_to_atom/1`. The attacker chooses that segment, so each request with a fresh value mints one permanent atom. The VM aborts when the atom table reaches its limit of about one million entries."}],"value":"1. Input. The single-logout endpoint in esaml_cowboy:validate_logout/2 reads the request body, decodes the SAMLResponse form field with esaml_binding:decode_response/2, and passes a samlp:LogoutResponse document to esaml_sp:validate_logout_response/2.\n\n2. No signature required. validate_logout_response/2 looks for a ds:Signature element and verifies it only when one is present. An unsigned document passes through unchanged to esaml:decode_logout_response/1, which requires only the Version and IssueInstant attributes before mapping the StatusCode value.\n\n3. Interning. esaml:status_code_map/1 matches six known SAML status URNs to fixed atoms. Any other value starting with urn: falls through to a clause that interns the last colon-separated segment with list_to_atom/1. The attacker chooses that segment, so each request with a fresh value mints one permanent atom. The VM aborts when the atom table reaches its limit of about one million entries."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-86696","datePublished":"2026-10-22T06:59:07.680Z","dateReserved":"2026-10-08T13:45:02.138Z","dateUpdated":"2026-10-22T06:59:07.680Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}