Answer in brief
CVE-2026-137162 records a Low severity (CVSS 2.1) vulnerability in Quadratic CPU consumption in mdex auto-close block quote prefix expansion. The current sources do not mark it as known exploited. The current feed maps leandrocp/leandrocp/mdex (generic), leandrocp/mdex (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 2.1. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps leandrocp/leandrocp/mdex (generic), leandrocp/mdex (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| leandrocp/leandrocp/mdexgeneric | >=9a4b76802bfcd12ba34337bf3cf7d62621d0fe92 <2c29b28cd0473c24347aa00b95d16f9ce5f9d9af | 2c29b28cd0473c24347aa00b95d16f9ce5f9d9af |
| leandrocp/mdexgeneric | >=0.14.2 <0.15.0 | 0.15.0 |
Published upstream
Nov 30, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Nov 30, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Nov 30, 2026
Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who supplies Markdown to exhaust CPU via a long run of block quote markers when auto-close is enabled. When Markdown is rendered with auto_close: true or through MDEx.stream/2, MDEx.FragmentParser checks whether the last paragraph ends in an incomplete link reference definition. If that paragraph contains >, each line's leading quote prefix is expanded by expand_quote_prefix/2 in lib/mdex/fragment_parser.ex. That function is body-recursive and prepends each character to the prefix built so far, copying it again for every leading space, tab or >, so a line of N such bytes costs O(N²). The prefix length is not bounded. A single line of a few hundred kilobytes of > ties up a scheduler for seconds, while the same input renders in milliseconds with auto-close off. This issue affects mdex: from 0.14.2 before 0.15.0.
Quoted source text, attributed separately from HOL analysis.