CYBER CODE RED

Get real-time updates on Telegram

P5

CVE-2026-53428: mdex 0.11.0 to before 0.12.3; +1 more affected products

CVE-2026-53428 affects mdex. EPSS 0.00185 (percentile 0.08293), scored 20-Nov-2026. Fixed version: 0.12.3. Fixed version: 0.2.3. Fixed version: 6ed94d905f97af188323f042698ae841c02293b4. Fixed version: 798a363b4339f6f7162ec8437c4c9f9b5ae6fbf3. Fixed version: 2cb9eb2f6014414b40c8f1e5d5181b9692626c38. Fixed version: a8407611715d1ead35fbcba79c72cef1b7df387b. Fixed version: b6caf84e9dd035654ed7e8955086ab37afdaa7a0. Fixed version: 956528c5e31746253347029e810a969ab916fd27.

Affected technology

mdex · 0.11.0 to before 0.12.3
leandrocp

mdex · a8407611715d1ead35fbcba79c72cef1b7df387b to before 6ed94d905f97af188323f042698ae841c02293b4
leandrocp

mdex_native · 0.1.0 to before 0.2.3
leandrocp

mdex_native · 956528c5e31746253347029e810a969ab916fd27 to before 798a363b4339f6f7162ec8437c4c9f9b5ae6fbf3
leandrocp

Component: comrak_nif, 'Elixir.MDEx', mdex_native_nif, 'Elixir.MDExNative.Native', 'Elixir.MDExNative.Comrak'
Function: comrak_nif::lumis_adapter::LumisAdapter::parse_highlight_lines, comrak_nif::autumnus_adapter::AutumnusAdapter::parse_highlight_lines, 'Elixir.MDEx':to_html/2, mdex_native_nif::lumis_adapter::LumisAdapter::parse_highlight_lines, 'Elixir.MDExNative.Native':document_to_html_with_options/2, 'Elixir.MDExNative.Comrak':document_to_html/2
File: native/comrak_nif/src/lumis_adapter.rs, native/comrak_nif/src/autumnus_adapter.rs, lib/mdex.ex, native/mdex_native_nif/src/lumis_adapter.rs, lib/mdex_native/native.ex, lib/mdex_native/comrak.ex

Attack conditions (Source advisory, CVSS 4.0): Local · No privileges required · No user interaction required

What an attacker can do

An unauthenticated attacker can cause a denial of service through unbounded memory allocation. comrak_nif::lumis_adapter::LumisAdapter::parse_highlight_lines in native/comrak_nif/src/lumis_adapter.rs eagerly expands a user-controlled inclusive line range from a fenced code block's highlight_lines decorator into a Vec, pushing one element per integer in the range with no upper bound on the range size. Source advisory’s CVSS 4.0 assessment (base score 6.9/10) rates confidentiality and integrity impact as none; availability impact as high.

Published

CWE
CWE-789
Product
mdex
CCR priority
0.0 /100 (P5)
CVSS 4.0
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H · OSV.dev
EPSS
0.00143 · percentile 0.03791 · 2026-12-02
KEV
no

Provenance

Stable permalink: https://cybercodered.org/item/cve-cve-2026-53428.html