PoC Monitor
← All CVEs
CVE-2026-53426published 29 Jun 2026 19:11 UTCData: JSON · API

MDEx

Atom-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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-770
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

leandrocp mdex
  • >= 0.4.3, < 0.13.2

Fixed in 0.13.2

leandrocp mdex
  • >= cbb59a3f792dbc343873adec3466f49c853dc309, < 00fddf444220a1f1cc0af0a1cab6738804878387

Fixed in 00fddf444220a1f1cc0af0a1cab6738804878387

Mitigation

Upgrade mdex to 0.13.2 or later.

Upgrade mdex to 00fddf444220a1f1cc0af0a1cab6738804878387 or later.

Workaround

Do not pass untrusted or attacker-controlled input to the {:json, ...} source of MDEx.parse_document/2. The {:markdown, ...} source is not affected.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published29 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.