<?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>Sat, 03 Oct 2026 12:59:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-49851 — Mistune: Potential DoS via quadratic-time parsing in parse_link_text</title>
      <link>https://db.gcve.eu/vuln/cve-2026-49851</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; lepture mistune, Red Hat OpenShift AI 3.4, Red Hat Migration Toolkit for Applications 8, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4, Red Hat Satellite 6&lt;/p&gt;
&lt;p&gt;Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Mistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. When parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop. Each iteration re-scans a large portion of the remaining string, resulting in quadratic-time behavior. An attacker-controlled Markdown input can therefore trigger excessive CPU usage with a very small payload. This vulnerability is fixed in 3.3.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; lepture mistune, Red Hat OpenShift AI 3.4, Red Hat Migration Toolkit for Applications 8, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4, Red Hat Satellite 6&lt;/p&gt;
&lt;p&gt;Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Mistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. When parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop. Each iteration re-scans a large portion of the remaining string, resulting in quadratic-time behavior. An attacker-controlled Markdown input can therefore trigger excessive CPU usage with a very small payload. This vulnerability is fixed in 3.3.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-49851</guid>
    </item>
    <item>
      <title>GHSA-qcq2-496w-v96p — Mistune: Potential DoS via quadratic-time parsing in parse_link_text</title>
      <link>https://db.gcve.eu/vuln/ghsa-qcq2-496w-v96p</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mistune&lt;/p&gt;
&lt;p&gt;### Summary
Mistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. A relatively small input consisting of repeated [ characters causes significant parsing slowdown.&lt;/p&gt;
&lt;p&gt;### Affected component
mistune/inline_parser.py → **parse_link_text**&lt;/p&gt;
&lt;p&gt;### Description
When parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop. Each iteration re-scans a large portion of the remaining string, resulting in quadratic-time behavior.
An attacker-controlled Markdown input can therefore trigger excessive CPU usage with a very small payload.&lt;/p&gt;
&lt;p&gt;### Root cause
The vulnerability stems from a two-loop interaction:
- The outer loop in `InlineParser.parse()` (inline_parser.py) advances 
  only 1 character at a time when parse_link() returns None
- Each failed attempt calls `parse_link_text()` which performs an O(n) 
  scan to the end of the string looking for a closing `]`
- With n consecutive `[` characters, this results in O(n) × O(n) = O(n²) 
  total work&lt;/p&gt;
&lt;p&gt;### PoC
Run below python script
```
import mistune
import time&lt;/p&gt;
&lt;p&gt;md = mistune.create_markdown()&lt;/p&gt;
&lt;p&gt;s = &amp;#34;[&amp;#34; * 6400&lt;/p&gt;
&lt;p&gt;t = time.perf_counter()
md(s)
print(time.perf_counter() - t)
```
&amp;lt;img width=&amp;#34;2028&amp;#34; height=&amp;#34;1277&amp;#34; alt=&amp;#34;image&amp;#34; src=&amp;#34;https://github.com/user-attachments/assets/15d5bc0b-35f8-4a15-85e0-cbc314a45b06&amp;#34; /&amp;gt;&lt;/p&gt;
&lt;p&gt;**Benmark poc**
Run below code for benchmark
```
import mistune
import time&lt;/p&gt;
&lt;p&gt;md = mistune.create_markd…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mistune&lt;/p&gt;
&lt;p&gt;### Summary
Mistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. A relatively small input consisting of repeated [ characters causes significant parsing slowdown.&lt;/p&gt;
&lt;p&gt;### Affected component
mistune/inline_parser.py → **parse_link_text**&lt;/p&gt;
&lt;p&gt;### Description
When parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop. Each iteration re-scans a large portion of the remaining string, resulting in quadratic-time behavior.
An attacker-controlled Markdown input can therefore trigger excessive CPU usage with a very small payload.&lt;/p&gt;
&lt;p&gt;### Root cause
The vulnerability stems from a two-loop interaction:
- The outer loop in `InlineParser.parse()` (inline_parser.py) advances 
  only 1 character at a time when parse_link() returns None
- Each failed attempt calls `parse_link_text()` which performs an O(n) 
  scan to the end of the string looking for a closing `]`
- With n consecutive `[` characters, this results in O(n) × O(n) = O(n²) 
  total work&lt;/p&gt;
&lt;p&gt;### PoC
Run below python script
```
import mistune
import time&lt;/p&gt;
&lt;p&gt;md = mistune.create_markdown()&lt;/p&gt;
&lt;p&gt;s = &amp;#34;[&amp;#34; * 6400&lt;/p&gt;
&lt;p&gt;t = time.perf_counter()
md(s)
print(time.perf_counter() - t)
```
&amp;lt;img width=&amp;#34;2028&amp;#34; height=&amp;#34;1277&amp;#34; alt=&amp;#34;image&amp;#34; src=&amp;#34;https://github.com/user-attachments/assets/15d5bc0b-35f8-4a15-85e0-cbc314a45b06&amp;#34; /&amp;gt;&lt;/p&gt;
&lt;p&gt;**Benmark poc**
Run below code for benchmark
```
import mistune
import time&lt;/p&gt;
&lt;p&gt;md = mistune.create_markd…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-qcq2-496w-v96p</guid>
    </item>
    <item>
      <title>PYSEC-2026-2652 — Mistune: Potential DoS via quadratic-time parsing in parse_link_text</title>
      <link>https://db.gcve.eu/vuln/pysec-2026-2652</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mistune&lt;/p&gt;
&lt;p&gt;### Summary
Mistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. A relatively small input consisting of repeated [ characters causes significant parsing slowdown.&lt;/p&gt;
&lt;p&gt;### Affected component
mistune/inline_parser.py → **parse_link_text**&lt;/p&gt;
&lt;p&gt;### Description
When parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop. Each iteration re-scans a large portion of the remaining string, resulting in quadratic-time behavior.
An attacker-controlled Markdown input can therefore trigger excessive CPU usage with a very small payload.&lt;/p&gt;
&lt;p&gt;### Root cause
The vulnerability stems from a two-loop interaction:
- The outer loop in `InlineParser.parse()` (inline_parser.py) advances 
  only 1 character at a time when parse_link() returns None
- Each failed attempt calls `parse_link_text()` which performs an O(n) 
  scan to the end of the string looking for a closing `]`
- With n consecutive `[` characters, this results in O(n) × O(n) = O(n²) 
  total work&lt;/p&gt;
&lt;p&gt;### PoC
Run below python script
```
import mistune
import time&lt;/p&gt;
&lt;p&gt;md = mistune.create_markdown()&lt;/p&gt;
&lt;p&gt;s = &amp;#34;[&amp;#34; * 6400&lt;/p&gt;
&lt;p&gt;t = time.perf_counter()
md(s)
print(time.perf_counter() - t)
```
&amp;lt;img width=&amp;#34;2028&amp;#34; height=&amp;#34;1277&amp;#34; alt=&amp;#34;image&amp;#34; src=&amp;#34;https://github.com/user-attachments/assets/15d5bc0b-35f8-4a15-85e0-cbc314a45b06&amp;#34; /&amp;gt;&lt;/p&gt;
&lt;p&gt;**Benmark poc**
Run below code for benchmark
```
import mistune
import time&lt;/p&gt;
&lt;p&gt;md = mistune.create_markd…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mistune&lt;/p&gt;
&lt;p&gt;### Summary
Mistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. A relatively small input consisting of repeated [ characters causes significant parsing slowdown.&lt;/p&gt;
&lt;p&gt;### Affected component
mistune/inline_parser.py → **parse_link_text**&lt;/p&gt;
&lt;p&gt;### Description
When parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop. Each iteration re-scans a large portion of the remaining string, resulting in quadratic-time behavior.
An attacker-controlled Markdown input can therefore trigger excessive CPU usage with a very small payload.&lt;/p&gt;
&lt;p&gt;### Root cause
The vulnerability stems from a two-loop interaction:
- The outer loop in `InlineParser.parse()` (inline_parser.py) advances 
  only 1 character at a time when parse_link() returns None
- Each failed attempt calls `parse_link_text()` which performs an O(n) 
  scan to the end of the string looking for a closing `]`
- With n consecutive `[` characters, this results in O(n) × O(n) = O(n²) 
  total work&lt;/p&gt;
&lt;p&gt;### PoC
Run below python script
```
import mistune
import time&lt;/p&gt;
&lt;p&gt;md = mistune.create_markdown()&lt;/p&gt;
&lt;p&gt;s = &amp;#34;[&amp;#34; * 6400&lt;/p&gt;
&lt;p&gt;t = time.perf_counter()
md(s)
print(time.perf_counter() - t)
```
&amp;lt;img width=&amp;#34;2028&amp;#34; height=&amp;#34;1277&amp;#34; alt=&amp;#34;image&amp;#34; src=&amp;#34;https://github.com/user-attachments/assets/15d5bc0b-35f8-4a15-85e0-cbc314a45b06&amp;#34; /&amp;gt;&lt;/p&gt;
&lt;p&gt;**Benmark poc**
Run below code for benchmark
```
import mistune
import time&lt;/p&gt;
&lt;p&gt;md = mistune.create_markd…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/pysec-2026-2652</guid>
    </item>
  </channel>
</rss>
