<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 21:24:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-137162 — Quadratic CPU consumption in mdex auto-close block quote prefix expansion</title>
      <link>https://db.gcve.eu/vuln/cve-2026-137162</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; leandrocp mdex&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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 &amp;gt;, each line&amp;#39;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 &amp;gt;, 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 &amp;gt; ties up a scheduler for seconds, while the same input renders in milliseconds with auto-close off.&lt;/p&gt;
&lt;p&gt;This issue affects mdex: from 0.14.2 before 0.15.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; leandrocp mdex&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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 &amp;gt;, each line&amp;#39;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 &amp;gt;, 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 &amp;gt; ties up a scheduler for seconds, while the same input renders in milliseconds with auto-close off.&lt;/p&gt;
&lt;p&gt;This issue affects mdex: from 0.14.2 before 0.15.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-137162</guid>
    </item>
  </channel>
</rss>
