Advisory

DEBIAN-CVE-2026-49851

Also known as: CVE-2026-49851

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-06-24 18:17 UTC
Modified
2026-11-18 12:01 UTC

Affected packages and fixes

mistune

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

mistune

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.3.4-1 (ecosystem)

Fixed versions

3.3.4-1

Fix

  • Fixed version 3.3.4-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences