CVE-2026-53426Atom-table exhaustion denial-of-service via JSON parse_document in MDEx
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- leandrocp mdex: affected: 0.4.3 to before 0.13.2; fixed in
0.13.2 - leandrocp mdex: affected: cbb59a3f792dbc343873adec3466f49c853dc309 to before 00fddf444220a1f1cc0af0a1cab6738804878387; fixed in
00fddf444220a1f1cc0af0a1cab6738804878387
Workaround: Do not pass untrusted or attacker-controlled input to the {:json, ...} source of MDEx.parse_document/2. The {:markdown, ...} source is not affected.
Vendor advisories:
- https://github.com/leandrocp/mdex/security/advisories/GHSA-923r-7vf4-5vw8 (vendor-advisory)
- https://github.com/leandrocp/mdex/commit/00fddf444220a1f1cc0af0a1cab6738804878387 (patch)
References
- https://github.com/leandrocp/mdex/security/advisories/GHSA-923r-7vf4-5vw8
- https://cna.erlef.org/cves/CVE-2026-53426.html
- https://osv.dev/vulnerability/EEF-CVE-2026-53426
- https://github.com/leandrocp/mdex/commit/cbb59a3f792dbc343873adec3466f49c853dc309
- https://github.com/leandrocp/mdex/commit/00fddf444220a1f1cc0af0a1cab6738804878387
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.