Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-49851— Mistune: Potential DoS via quadratic-time parsing in parse_link_text

Quick assessment

Affected
lepture mistune
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

lepture mistune是lepture的Markdown解析库。 lepture mistune 3.3.0之前版本存在资源管理错误漏洞,该漏洞源于parse_link_text函数中超线性(约O(n²))行为,可能导致CPU耗尽拒绝服务攻击。

CVSS 8.7 · High EPSS 0.63% · P50

Possible ATT&CK Techniques 1 AI

T1499.002 · Service Exhaustion Flood

Affected Version Matrix 1

VendorProduct Version RangeStatus
lepture mistune < 3.3.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-49851

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Mistune: Potential DoS via quadratic-time parsing in parse_link_text
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
lepture mistune 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
lepture mistune是lepture的Markdown解析库。 lepture mistune 3.3.0之前版本存在资源管理错误漏洞,该漏洞源于parse_link_text函数中超线性(约O(n²))行为,可能导致CPU耗尽拒绝服务攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
lepture mistune < 3.3.0 -

II. Public POCs for CVE-2026-49851

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-49851

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-49851 (1)

IV. Related Vulnerabilities