EEF-CVE-2026-105270

Source
https://cna.erlef.org/osv/EEF-CVE-2026-105270.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-105270.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-105270
Aliases
  • CVE-2026-105270
Published
2026-10-22T06:58:43Z
Modified
2026-10-22T07:00:03Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Unbounded atom creation while parsing SAML messages in esaml allows atom table exhaustion
Details

Summary

Allocation of Resources Without Limits or Throttling vulnerability in esaml_binding in dropbox esaml allows an unauthenticated attacker to exhaust the Erlang VM atom table and crash the node via a crafted SAMLResponse.

esaml_binding:decode_response/2 parses the decoded SAMLResponse with xmerl_scan:string/2, which interns every element name, attribute name, and namespace prefix it reads as a permanent atom. The SAML consume (ACS) and single-logout endpoints call it on unauthenticated requests before any signature check, so one well-formed document with thousands of distinct names mints thousands of atoms while staying inside the 128 KB request body limit. Atoms are never reclaimed and the VM caps the atom table at about one million entries, so a few dozen requests abort the node.

This issue affects esaml: from 0.1.0 onward.

Details

1. Input. The SAML consume (ACS) and single-logout endpoints in esaml_cowboy read the request body, capped at 128 KB, and pass the SAMLResponse form field to esaml_binding:decode_response/2. Both the DEFLATE clause and the default clause end in xmerl_scan:string/2 with namespace_conformant set.

2. Interning. xmerl_scan converts every element name, attribute name, and namespace prefix it tokenizes into an atom with list_to_atom/1, and the same happens for each namespace local name in expanded_name/4. A well-formed document with many distinct names therefore mints one permanent atom per name. Repetitive names deflate well, so a document with ten thousand distinct names fits in a few tens of kilobytes on the wire.

3. Exhaustion before any check. Signature verification and assertion validation run on the parsed document afterward, so the atoms are minted whether or not the document is a valid or signed SAML message. Atoms are never garbage collected and the VM aborts when the atom table reaches its limit of about one million entries, so a few dozen requests take the node down.

Proof of concept

  1. Build a well-formed XML document whose root contains several thousand empty elements with distinct names, each carrying a distinctly named attribute, for example <p0 a0="x"/> through <p4999 a4999="x"/>.
  2. Deflate and base64-encode it, and post it to the service provider's SAML consume (ACS) or single-logout endpoint as the SAMLResponse form field with SAMLEncoding set to the DEFLATE URI. A document with 5,000 elements and 5,000 attributes encodes to about 33 KB.
  3. esaml_binding:decode_response/2 parses it with xmerl_scan:string/2 before any signature check, and the atom table grows by 10,000 entries that are never reclaimed. Repeat with fresh names until the VM aborts.

Impact

An unauthenticated attacker posts a small SAML document with thousands of distinct element and attribute names to a service provider's consume or single-logout endpoint. Each request permanently consumes thousands of atom table entries, and a few dozen requests abort the Erlang VM, denying service to every user of the service provider.

Database specific
{
    "capec_ids":  [
        "CAPEC-130"
    ],
    "cpe_ids":  [
        "cpe:2.3:a:arekinath:esaml:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:handnot2:esaml:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:dropbox:esaml:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids":  [
        "CWE-770"
    ]
}
References
Credits
    • Quinn Wilton - FINDER
    • Quinn Wilton - REPORTER
    • Jonatan Männchen / EEF - COORDINATOR

Affected packages

Hex
esaml

Package

Name
esaml
Purl
pkg:hex/esaml

Affected ranges

Type
SEMVER
Events
Introduced
0.1.0

Affected versions

3.*
3.0.1
3.1.0
3.2.0
3.3.0
3.4.0
3.5.0
3.6.0
3.6.1
3.7.0
4.*
4.0.0
4.1.0
4.2.0
4.3.0
4.4.0
4.5.0
4.6.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-105270.json"
Git
github.com/arekinath/esaml

Affected ranges

Type
GIT
Repo
https://github.com/arekinath/esaml
Events

Affected versions

v0.*
v0.1
v1.*
v1.0
v1.1

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-105270.json"
github.com/handnot2/esaml

Affected ranges

Type
GIT
Repo
https://github.com/handnot2/esaml
Events

Affected versions

2.*
2.0.0
v0.*
v0.1
v1.*
v1.0
v1.1
v2.*
v2.1.0
v3.*
v3.0.0
v3.0.1
v3.1.0
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v3.6.0
v3.6.1
v4.*
v4.0.0
v4.1.0
v4.2.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-105270.json"
github.com/dropbox/esaml

Affected ranges

Type
GIT
Repo
https://github.com/dropbox/esaml
Events

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-105270.json"