Missing Release of Memory after Effective Lifetime vulnerability in leandrocp mdex and mdexnative allows an attacker who controls a…
CVE-2026-53429
Missing Release of Memory after Effective Lifetime vulnerability in leandrocp mdex and mdexnative allows an attacker who controls a rendered document to cause a denial of service through unbounded native memory exhaustion. The native rendering code permanently leaks memory when rendering a document that contains escaped-tag nodes. The conversion of each %MDEx.EscapedTag{} node into its native representation (From for NodeValue in the Rust NIF) calls Box::leak on the caller-supplied literal string, which surrenders the backing allocation so that it lives for the entire lifetime of the operating system process and is never freed. Both the byte length of each literal and the number of escaped-tag nodes in a document are attacker-controlled, and there is no size cap, rate limit, or string interning on this path. Every render of a document containing escaped-tag nodes therefore leaks literalsize × nodecount bytes that can never be reclaimed, and repeated renders accumulate without bound. Rendering reaches this path through the public MDEx.tohtml/1 entry point and any other API that renders a supplied %MDEx.Document{}. Any application that uses mdex (or mdexnative directly) to render…
Assessment
- CVSS
- 6.9 (v4.0)
- Severity
- Medium
- EPSS
- 0.19% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 29 June 2026
- Last updated
- 20 November 2026
- Affected
- leandrocp · mdex · mdex_native
- Assigner
- EEF
CVSS vectorCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
At the source
References
- https://github.com/leandrocp/mdex_native/security/advisories/GHSA-cmvp-gp9f-23xw
- https://cna.erlef.org/cves/CVE-2026-53429.html
- https://osv.dev/vulnerability/EEF-CVE-2026-53429
- https://github.com/leandrocp/mdex/commit/81e4d14dd3aa5b206e395c7f372b9b413793015f
- https://github.com/leandrocp/mdex/commit/6ed94d905f97af188323f042698ae841c02293b4
- https://github.com/leandrocp/mdex_native/commit/956528c5e31746253347029e810a969ab916fd27
- https://github.com/leandrocp/mdex_native/commit/cbd927fb5061b488de8d90a8ef6df65718ca1fe6
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-53429