<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T21:24:28.209100+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-137162</id>
    <title>CVE-2026-137162 — Quadratic CPU consumption in mdex auto-close block quote prefix expansion</title>
    <updated>2026-12-04T21:24:28.211211+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> leandrocp mdex</p>
<p>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.</p>
<p>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 &gt;, 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 &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 &gt; ties up a scheduler for seconds, while the same input renders in milliseconds with auto-close off.</p>
<p>This issue affects mdex: from 0.14.2 before 0.15.0.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-137162"/>
  </entry>
</feed>
