Vulnerability RUSTSEC-2026-0414

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
15 days ago
October 18, 2026 at 12:00 PM UTC
Exponential event growth with `ENABLE_WIKILINKS`
0.13.0 - 0.13.4
0.13.0 - 0.13.4

Summary

Exponential event growth with `ENABLE_WIKILINKS`

Details

When Options::ENABLE_WIKILINKS is enabled, a wikilink with a pipe separator and empty display text, such as [[a|]], leaks its child node's sibling chain into the content that follows it. Each such link roughly doubles the number of events the parser yields for the rest of the document, so output grows exponentially with input size: 16 repetitions of [[a|]] (112 bytes) yield 327,676 events, where the fixed parser yields 65. A document of a few kilobytes is enough to exhaust memory in a process that collects the events or renders them to HTML.

Applications that parse untrusted Markdown with ENABLE_WIKILINKS set, including through Options::all(), are affected. The option is off by default. Parsing without it is not affected.

The flaw was fixed in #1102 and released in 0.13.5.

Impacted packages

Timeline

Published
15 days ago
October 18, 2026 at 12:00 PM UTC
Fixed (0.13.5)
11 days ago
October 21, 2026 at 07:45 PM UTC
Last Modified
5 days ago
October 28, 2026 at 09:00 AM UTC