PatchSiren cyber security CVE debrief
CVE-2026-54888 leandrocp CVE debrief
CVE-2026-54888 is an uncontrolled recursion vulnerability in the mdex package that can cause a denial of service via deeply nested Markdown input. The vulnerability exists in the conversion code between Elixir and Comrak's internal AST, which can lead to a stack overflow and terminate the operating system process running the BEAM. This issue affects systems that use the mdex package, especially those that process Markdown input from untrusted sources. Defenders should assess exposure and prioritize patching or mitigating this vulnerability.
- Vendor
- leandrocp
- Product
- mdex
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-29
- Original CVE updated
- 2026-11-24
- Advisory published
- 2026-06-29
- Advisory updated
- 2026-11-24
Who should care
Defenders who manage systems that use the mdex package, especially those that process Markdown input from untrusted sources, should assess exposure and prioritize patching or mitigating this vulnerability.
Why it matters
CVE-2026-54888 is an uncontrolled recursion vulnerability in the mdex package that can cause a denial of service via deeply nested Markdown input. Defenders should prioritize patching or mitigating this vulnerability, especially in systems that process Markdown input from untrusted sources.
- Potential denial of service attacks
- System crashes due to stack overflow
- Termination of operating system process running the BEAM
Technical summary
The vulnerability exists in the conversion code between Elixir and Comrak's internal AST in the mdex package, which can lead to a stack overflow and terminate the operating system process running the BEAM. The affected code was extracted from mdex into the separate mdex_native package starting in mdex 0.12.3. This uncontrolled recursion vulnerability can be triggered by deeply nested Markdown input, and defenders should prioritize patching or mitigating this vulnerability, especially in systems that process Markdown input from untrusted sources.
Defensive priority
Defenders should prioritize patching or mitigating this vulnerability, especially in systems that process Markdown input from untrusted sources.
Recommended defensive actions
- Patch or upgrade to a fixed version of mdex or mdex_native
- Implement input validation and sanitization for Markdown input
- Monitor systems for potential denial of service attacks
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability is caused by uncontrolled recursion in the mdex package, which can be triggered by deeply nested Markdown input. The affected code was extracted from mdex into the separate mdex_native package starting in mdex 0.12.3.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-54888 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-54888
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-54888 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-54888
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Uncontrolled recursion over deeply nested Markdown crashes the BEAM in mdex
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/54xxx/CVE-2026-54888.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/leandrocp/mdex_native/security/advisories/GHSA-3w4f-53g2-f66p
Supplemental source - vendor-advisory, related
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-54888.html
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-54888
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/leandrocp/mdex/commit/d0bc7d55177727c61d188ef465178ab3b81f4f2c
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/leandrocp/mdex/commit/6ed94d905f97af188323f042698ae841c02293b4
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/leandrocp/mdex_native/commit/956528c5e31746253347029e810a969ab916fd27
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/leandrocp/mdex_native/commit/947696c47bc22bea5dffc0f78c946fa6b70ce183
Supplemental source - patch
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.