RUSTSEC-2026-0414

Source
https://rustsec.org/advisories/RUSTSEC-2026-0414
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0414.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0414
Published
2026-10-18T12:00:00Z
Modified
2026-10-28T09:00:02Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "license":  "CC0-1.0"
}
References

Affected packages

crates.io / pulldown-cmark

Package

Name
pulldown-cmark
View open source insights on deps.dev
Purl
pkg:cargo/pulldown-cmark

Affected ranges

Type
SEMVER
Events
Introduced
0.13.0
Fixed
0.13.5

Ecosystem specific

{
    "affected_functions":  null,
    "affects":  {
        "arch":  [],
        "functions":  [],
        "os":  []
    }
}

Database specific

categories
[
    "denial-of-service"
]
cvss
"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0414.json"