Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-105270 Overview
CVE-2026-105270 is a resource exhaustion vulnerability in the esaml library, a SAML (Security Assertion Markup Language) implementation for Erlang maintained by Dropbox and community forks. The flaw resides in esaml_binding:decode_response/2, which parses untrusted SAML documents using xmerl_scan:string/2. The XML scanner interns every element name, attribute name, and namespace prefix as a permanent Erlang atom. Because the Erlang Virtual Machine (VM) caps the atom table at approximately one million entries and never reclaims atoms, a few dozen crafted requests can crash the node. The vulnerability affects esaml from version 0.1.0 onward.
Critical Impact
An unauthenticated remote attacker can crash any Erlang node exposing an esaml SAML consume (ACS) or single-logout endpoint by submitting a small number of crafted SAMLResponse documents, each well under the 128 KB request body limit.
Affected Products
- dropbox/esaml — versions 0.1.0 and later
- arekinath/esaml fork — all versions prior to the patched commit
- handnot2/esaml fork — all versions prior to the patched commit
Discovery Timeline
- 2026-10-22 - CVE-2026-105270 published to the National Vulnerability Database (NVD)
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-105270
Vulnerability Analysis
The vulnerability is categorized as Allocation of Resources Without Limits or Throttling [CWE-770]. The function esaml_binding:decode_response/2 receives a base64-decoded SAMLResponse and hands it to xmerl_scan:string/2 for XML parsing. The xmerl_scan module converts every XML name token it encounters into an Erlang atom. Atoms in Erlang are never garbage collected, and the VM enforces a hard ceiling (default ~1,048,576) on the atom table. Once the ceiling is reached, the VM aborts the entire node.
The SAML consume (Assertion Consumer Service, ACS) and single-logout endpoints invoke this parser on unauthenticated requests before any signature validation occurs. A single 128 KB document can contain thousands of distinct element and attribute names. An attacker therefore needs only a few dozen HTTP requests to exhaust the atom table and bring down the service.
Root Cause
The root cause is the use of Erlang's xmerl_scan:string/2 on attacker-controlled input without constraining name creation. xmerl_scan resolves names into atoms by default. Because atoms persist for the lifetime of the VM, any unbounded source of distinct names becomes a denial-of-service primitive. The authentication and signature checks that would otherwise filter malicious payloads run only after parsing completes.
Attack Vector
Exploitation requires no authentication, no user interaction, and only network access to the SAML endpoints. The attacker constructs a well-formed XML document in which every element and attribute uses a unique name, submits it to /saml/consume or the single-logout URL, and repeats until the VM aborts. The impact is limited to availability; confidentiality and integrity are not affected.
The upstream repositories published a fix in commit deeb84378d5c82153b470e99d24f77c38afca14a. Review the patch content below.
# Patch commit referenced across esaml forks
# Source: https://github.com/dropbox/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a
# Source: https://github.com/arekinath/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a
# Source: https://github.com/handnot2/esaml/commit/deeb84378d5c82153b470e99d24f77c38afca14a
# Record definitions touched by the hardening work in include/esaml.hrl:
-record(esaml_metadata, {org_name, org_displayname, org_url, tech_name,
tech_email, sign_req, sign_ass, cert, entity_id,
consumer_location}).
-record(esaml_authnreq, {issue_instant, destination, issuer, consumer_location}).
Detection Methods for CVE-2026-105270
Indicators of Compromise
- Erlang VM crash logs containing no_more_atoms or system_limit emitted by the SAML service process.
- Sudden spikes in atom table utilization reported by erlang:memory(atom) or erlang:system_info(atom_count).
- Repeated POST requests to /saml/consume or single-logout URLs containing XML with many unique element or attribute names.
Detection Strategies
- Instrument SAML endpoints with request-body inspection that counts distinct XML qualified names per document.
- Baseline normal atom growth and alert when the delta per hour exceeds historical patterns by more than one standard deviation.
- Correlate upstream HTTP 5xx responses from the SAML service with Erlang node restarts to identify exploitation attempts.
Monitoring Recommendations
- Export atom_count and atom_limit metrics to your observability stack and alert at 70% utilization.
- Enable web application firewall (WAF) logging on SAML endpoints and retain full payloads for forensic replay.
- Monitor process supervisor restart counts for the esaml handler; frequent restarts indicate an exhaustion attempt in progress.
How to Mitigate CVE-2026-105270
Immediate Actions Required
- Upgrade esaml to a version that includes commit deeb84378d5c82153b470e99d24f77c38afca14a or later across every fork in use.
- Rate-limit requests to /saml/consume and single-logout endpoints at the reverse proxy or WAF to constrain exhaustion attempts.
- Restrict SAML endpoints to known identity provider (IdP) source IP ranges where business requirements allow.
Patch Information
Upstream maintainers published fixes in the following commits: dropbox/esaml fix, arekinath/esaml fix, and handnot2/esaml fix. The authoritative advisory is published by the Erlang Ecosystem Foundation at CNA CVE-2026-105270 Details and tracked in OSV as EEF-CVE-2026-105270.
Workarounds
- Deploy an XML-aware proxy that rejects SAMLResponse payloads containing more than a conservative threshold of distinct element or attribute names.
- Terminate the Erlang node with +t at a lower atom table limit only if your application tolerates the trade-off, and pair it with aggressive process supervision.
- Where feasible, front the SAML service with mutual TLS or network ACLs so only trusted IdPs can reach decode_response/2.
# Example: rate limit SAML endpoints with nginx to blunt atom exhaustion attempts
limit_req_zone $binary_remote_addr zone=saml:10m rate=5r/m;
server {
location ~ ^/saml/(consume|logout)$ {
limit_req zone=saml burst=3 nodelay;
client_max_body_size 64k;
proxy_pass http://esaml_backend;
}
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

