PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-97699 lepture CVE debrief

A vulnerability in the mistune library, specifically in the inline image parsing functionality, can lead to a quadratic-time Denial of Service (DoS) attack. This issue arises because the guards that prevent the link path from becoming quadratic are bypassed when the `is_image` flag is True. A specially crafted document can cause the parser to consume O(N²) CPU, leading to a potential DoS. The issue has been fixed in mistune version 3.3.4.

Vendor
lepture
Product
mistune
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-19
Original CVE updated
2026-11-19
Advisory published
2026-11-19
Advisory updated
2026-11-19

Who should care

Defenders responsible for systems using the mistune library, particularly those that process user-supplied content, should assess exposure and prioritize upgrading to version 3.3.4 or later.

Why it matters

Defenders should care about this vulnerability because it can lead to a Denial of Service (DoS) attack, impacting system performance and availability. The issue requires verification and upgrading to mistune version 3.3.4 or later to mitigate the vulnerability.

  • Potential Denial of Service (DoS) due to quadratic-time CPU consumption
  • Need to verify and upgrade to mistune version 3.3.4 or later
  • Possible impact on system performance and availability

Technical summary

The mistune library's inline image parsing functionality can be exploited to cause a quadratic-time Denial of Service (DoS) attack. This occurs because the `precedence_scan` function is reached for `![` openers, leading to O(N²) CPU consumption. The issue is fixed in mistune version 3.3.4. Affected product deployments should be assessed for exposure, particularly those that process user-supplied content, and upgraded to version 3.3.4 or later to mitigate this vulnerability. Defenders should prioritize upgrading to the fixed version and review compensating controls for exposed systems.

Defensive priority

Defenders should prioritize upgrading to mistune version 3.3.4 or later to mitigate this vulnerability. Systems using affected versions of mistune should be assessed for exposure, particularly those that process user-supplied content.

Recommended defensive actions

  • Upgrade to mistune version 3.3.4 or later
  • Assess exposure in systems using affected versions of mistune
  • Verify the fix by testing against the provided payload
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability was verified to scale approximately linearly against the 3.3.4 release tag. The reported payload was reproduced against the 3.3.3 release tag. To verify, defenders should test against the provided payload and assess exposure in systems using affected versions of mistune, particularly those that process user-supplied content. Evidence limits suggest a focus on mistune's inline image parsing functionality.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-97699 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-97699 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

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.