RUSTSEC-2026-0414 Exponential event growth with `ENABLE_WIKILINKS`

Not scored Published
Exploited in the wild
Not known
Fix
Available

What is RUSTSEC-2026-0414?

RUSTSEC-2026-0414 is a vulnerability in pulldown-cmark, published on 18 Oct 2026.

Official description

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.

Which versions are affected by RUSTSEC-2026-0414?

1 open source package ship an affected version, including pulldown-cmark.

PackageAffectedFixed in
pulldown-cmark crates.ioFrom 0.13.00.13.5

How do I fix RUSTSEC-2026-0414?

Upgrade pulldown-cmark to 0.13.5 or later.

Is RUSTSEC-2026-0414 being exploited?

There is no known exploitation of RUSTSEC-2026-0414 in the wild and no public exploit code.

Sources

Is RUSTSEC-2026-0414 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free