SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · News

Quadratic CPU consumption in mdex auto-close block quote prefix expansionInef...

Original article at CVE: New (opens in a new tab)

Source
CVE: New
Published
November 30, 2026
In the briefing
since November 30, 2026

Summary

CVE-2026-137162, published 30 November 2026, is a low-severity flaw in the Elixir Markdown library MDEx from 0.14.2 before 0.15.0. When auto-close is turned on or Markdown is streamed, a helper that expands block quote prefixes rebuilds the prefix character by character, so a single line made of a very long run of quote markers, spaces or tabs costs time proportional to the square of its length. A few hundred kilobytes of such input keeps a scheduler busy for seconds, while the same text renders in milliseconds with auto-close off. It is scored 2.1 under CVSS 4.0 and fixed in 0.15.0.

Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

Read the full story at CVE: New (opens in a new tab)