CVE-2026-53426 Atom-table exhaustion denial-of-service via JSON parse_document in MDEx
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Allocation of Resources Without Limits or Throttling vulnerability in leandrocp MDEx allows Excessive Allocation.
MDEx.parse_document/2 accepts a {:json, json} source. In lib/mdex.ex, the private json_to_node/1 function passes the attacker-controlled node_type value to Module.concat/1, which calls String.to_atom/1 and interns a brand-new atom for every distinct value. Atoms are never garbage collected on the BEAM, so a crafted JSON document carrying a unique node_type at each (deeply nested) node mints one permanent atom per node.
A single document can intern hundreds of thousands of atoms, and a large enough document exhausts the default atom table (around 1,048,576 atoms) and aborts the entire Erlang VM, taking down every process on the node. Any application that passes untrusted input to the {:json, ...} source of MDEx.parse_document is exposed to an unauthenticated denial-of-service.
This issue affects mdex: from 0.4.3 before 0.13.2.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| leandrocp mdex | >= 0.4.3, < 0.13.2; >= cbb59a3f792dbc343873adec3466f49c853dc309, < 00fddf444220a1f1cc0af0a1cab6738804878387 | 0.13.2, 00fddf444220a1f1cc0af0a1cab6738804878387 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| leandrocp mdex | >= 0.4.3, < 0.13.2 | 0.13.2 |
| leandrocp mdex | >= cbb59a3f792dbc343873adec3466f49c853dc309, < 00fddf444220a1f1cc0af0a1cab6738804878387 | 00fddf444220a1f1cc0af0a1cab6738804878387 |
References
- Atom-table exhaustion via JSON `parse_document` related vendor-advisory
- EEF CNA record for CVE-2026-53426 related
- OSV record EEF-CVE-2026-53426 related
- Fix commit 00fddf4 in leandrocp/mdex patch
- Introducing commit cbb59a3 in leandrocp/mdex related
- ENISA EUVD EUVD-2026-40179 third-party-advisory