RUSTSEC-2026-0414
Exponential event growth with `ENABLE_WIKILINKS`
Mitigation
- Upgrade pulldown-cmark to 0.13.5 or later.
Who should check
- Projects that depend on crates.io package pulldown-cmark (>= 0.13.0, < 0.13.5)
Vulnerability facts
- Affected
- pulldown-cmark >= 0.13.0, < 0.13.5
- Fixed in
- 0.13.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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](https://github.com/pulldown-cmark/pulldown-cmark/pull/1102) and released in 0.13.5.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io pulldown-cmark | >= 0.13.0, < 0.13.5 | 0.13.5 | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by RUSTSEC-2026-0414. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/RUSTSEC-2026-0414.md Affected: pulldown-cmark >= 0.13.0, < 0.13.5 Fixed in: 0.13.5 Steps: 1. Search this machine and project for pulldown-cmark (crates.io): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is RUSTSEC-2026-0414 being exploited?
There is no confirmed exploitation: RUSTSEC-2026-0414 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is RUSTSEC-2026-0414?
It has no CVSS score yet. Unknown.
Which versions are affected by RUSTSEC-2026-0414?
pulldown-cmark >= 0.13.0, < 0.13.5.
Is there a fix for RUSTSEC-2026-0414?
Yes. Fixed in 0.13.5. Upgrade pulldown-cmark to 0.13.5 or later.
How do I check if I'm affected by RUSTSEC-2026-0414?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.