PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-49851 lepture CVE debrief

CVE-2026-49851 is a high-severity vulnerability in Mistune, a Python Markdown parser. Prior to version 3.3.0, Mistune is vulnerable to a CPU exhaustion DoS due to superlinear behavior in the parse_link_text function. This vulnerability can be triggered by an attacker-controlled Markdown input with a small payload, leading to excessive CPU usage. The vulnerability is fixed in version 3.3.0. This issue has a CVSS score of 8.7 and is considered HIGH severity.

Vendor
lepture
Product
mistune
CVSS
HIGH 8.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-06-24
Original CVE updated
2026-08-28
Advisory published
2026-06-24
Advisory updated
2026-08-28

Who should care

Users of Mistune, especially those using versions prior to 3.3.0, should be aware of this vulnerability. Developers and administrators who utilize Mistune in their applications or infrastructure should prioritize upgrading to version 3.3.0 or applying appropriate mitigations. Red Hat and other vendors may be affected, as indicated by the presence of references to their security advisories.

Technical summary

The vulnerability in Mistune arises from the parse_link_text function's superlinear behavior, approximately O(n²), when parsing Markdown containing many consecutive [ characters. This leads to repeated scanning of the input using a regex search inside a loop, causing quadratic-time behavior and potentially resulting in CPU exhaustion. An attacker can exploit this by providing a specially crafted Markdown input that triggers excessive CPU usage with a very small payload. The issue is addressed in Mistune version 3.3.0.

Defensive priority

Given the high severity and potential for exploitation, defenders should prioritize upgrading Mistune to version 3.3.0. If immediate upgrade is not possible, implementing compensating controls such as input validation and monitoring for suspicious CPU usage patterns may help mitigate the risk.

Recommended defensive actions

  • Upgrade Mistune to version 3.3.0 or later.
  • Implement input validation to limit the impact of potentially malicious Markdown inputs.
  • Monitor systems for unusual CPU usage patterns that may indicate exploitation attempts.
  • Review and apply vendor-provided security advisories and patches.
  • Consider applying rate limiting or other traffic shaping techniques to limit the potential impact of an attack.

Evidence notes

The CVE record and NVD detail provide official information about the vulnerability. Multiple source references, including GitHub security advisories and Red Hat security notices, corroborate the existence and details of the vulnerability. The CVE has a CVSS score of 8.7 and is classified as HIGH severity.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-49851 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-49851

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-49851 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-49851

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/lepture/mistune/security/advisories/GHSA-qcq2-496w-v96p

    [email protected]

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/security/cve/CVE-2026-49851

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49851.json

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.