CVE-2026-53426

high

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.

References

https://osv.dev/vulnerability/EEF-CVE-2026-53426

https://github.com/leandrocp/mdex/security/advisories/GHSA-923r-7vf4-5vw8

https://github.com/leandrocp/mdex/commit/cbb59a3f792dbc343873adec3466f49c853dc309

https://github.com/leandrocp/mdex/commit/00fddf444220a1f1cc0af0a1cab6738804878387

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-40179

https://cna.erlef.org/cves/CVE-2026-53426.html

Details

Source: Mitre, NVD

Published: 2026-06-29

Updated: 2026-11-20

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

CVSS v4

Base Score: 8.2

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

Severity: High

EPSS

EPSS: 0.0018