- Accueil
- Vulnérabilités
- CVE-2026-53426
CVE-2026-53426
Atom-table exhaustion denial-of-service via JSON parse_document in MDEx
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
leandrocp (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| mdex | de 0.4.3 (inclus) à 0.13.2 (exclu) |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Contournementsource officielle
Do not pass untrusted or attacker-controlled input to the {:json, ...} source of MDEx.parse_document/2. The {:markdown, ...} source is not affected.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/leandrocp/mdex/commit/00fddf444220a1f1cc0af0a1cab6738804878387patch
- https://cna.erlef.org/cves/CVE-2026-53426.htmlrelated
- https://github.com/leandrocp/mdex/security/advisories/GHSA-923r-7vf4-5vw8vendor-advisory, related
- https://osv.dev/vulnerability/EEF-CVE-2026-53426related
- https://github.com/leandrocp/mdex/commit/cbb59a3f792dbc343873adec3466f49c853dc309related
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:(CVSS 4.0, CNA:6b3ad84c-e1a6-4bf7-a703-f496b71e49db)- Faiblesse
- CWE-770 · Autre (CWE-770)