Memory Allocation with Excessive Size Value vulnerability in leandrocp mdex allows an unauthenticated attacker to cause a denial of service…
CVE-2026-53428
Memory Allocation with Excessive Size Value vulnerability in leandrocp mdex allows an unauthenticated attacker to cause a denial of service through unbounded memory allocation. comraknif::lumisadapter::LumisAdapter::parsehighlightlines in native/comraknif/src/lumisadapter.rs eagerly expands a user-controlled inclusive line range from a fenced code block's highlightlines decorator into a Vec , pushing one element per integer in the range with no upper bound on the range size. An attacker who can supply Markdown that an application renders with MDEx.tohtml/2 (for example a comment, chat message, or wiki page) can embed a code block whose info string is rust highlightlines="1-100000000", forcing the native adapter to allocate roughly 8 bytes per line in the range. A payload that differs by only a few bytes can therefore allocate hundreds of megabytes, and a sufficiently large range (for example 1-2000000000) exhausts host memory and aborts the BEAM, denying service to every user of the rendering process. The per-line write loop additionally tests membership with a linear scan over the same vector, degrading rendering to a quadratic cost even for ranges that do not immediately exhaust…
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:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
At the source
References
- https://github.com/leandrocp/mdex_native/security/advisories/GHSA-j93q-9cvj-rxfm
- https://cna.erlef.org/cves/CVE-2026-53428.html
- https://osv.dev/vulnerability/EEF-CVE-2026-53428
- https://github.com/leandrocp/mdex/commit/a8407611715d1ead35fbcba79c72cef1b7df387b
- https://github.com/leandrocp/mdex/commit/6ed94d905f97af188323f042698ae841c02293b4
- https://github.com/leandrocp/mdex_native/commit/956528c5e31746253347029e810a969ab916fd27
- https://github.com/leandrocp/mdex_native/commit/798a363b4339f6f7162ec8437c4c9f9b5ae6fbf3
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-53428