CVE-2026-53426

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

No CVSS.

Configurations

No configuration.

History

20 Nov 2026, 09:20

Type Values Removed Values Added
References
  • () https://github.com/leandrocp/mdex/commit/cbb59a3f792dbc343873adec3466f49c853dc309 -
Summary (en) 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. (en) 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.

25 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Vulnerabilidad de Asignación de Recursos Sin Límites ni Limitación en leandrocp MDEx permite Asignación Excesiva. MDEx.parse_document/2 acepta una fuente {:json, json}. En lib/mdex.ex, la función privada json_to_node/1 pasa el valor node_type controlado por el atacante a Module.concat/1, que llama a String.to_atom/1 e interna un átomo completamente nuevo por cada valor distinto. Los átomos nunca se recolectan como basura en BEAM, por lo que un documento JSON manipulado que lleva un node_type único en cada nodo (profundamente anidado) crea un átomo permanente por nodo. Un solo documento puede internar cientos de miles de átomos, y un documento lo suficientemente grande agota la tabla de átomos predeterminada (alrededor de 1.048.576 átomos) y aborta toda la VM de Erlang, derribando cada proceso en el nodo. Cualquier aplicación que pase entrada no confiable a la fuente {:json, ...} de MDEx.parse_document está expuesta a una denegación de servicio no autenticada. Este problema afecta a mdex desde 0.4.3 antes de 0.13.2.

29 Jun 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-29 20:17

Updated : 2026-11-20 09:20


NVD link : CVE-2026-53426

Mitre link : CVE-2026-53426

CVE.ORG link : CVE-2026-53426


JSON object : View

Products Affected

No product.

CWE
CWE-770

Allocation of Resources Without Limits or Throttling