CVE-2026-53426
High 8.2No known exploitationFix availableAtom-table exhaustion denial-of-service via JSON parse_document in MDEx
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 8% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-770
Patching and mitigation
- Patch status
- Fix available (source: CVE record (EEF))
- Fix documented (source date)
- Mitigation
- Do not pass untrusted or attacker-controlled input to the {:json, ...} source of MDEx.parse_document/2. The {:markdown, ...} source is not affected. Source (opens in a new tab)
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| leandrocp | mdex | from 0.4.3 before 0.13.2 | 0.13.2 | CVE Program |
| leandrocp | mdex | from cbb59a3f792dbc343873adec3466f49c853dc309 before 00fddf444220a1f1cc0af0a1cab6738804878387 | 00fddf444220a1f1cc0af0a1cab6738804878387 | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (EEF)
Vendor guidance and references
- Fix commit 00fddf4 in leandrocp/mdex (opens in a new tab)patch
- Atom-table exhaustion via JSON `parse_document` (opens in a new tab)related, vendor-advisory
- EEF CNA record for CVE-2026-53426 (opens in a new tab)related
- Introducing commit cbb59a3 in leandrocp/mdex (opens in a new tab)related
- OSV record EEF-CVE-2026-53426 (opens in a new tab)related