Every CVESearch/Get API key

DHI-mapb-i6rc-rin6-cy6r

With `Options::ENABLE_WIKILINKS`, handle_wikilink builds a wikilink's target

7.5 HighFix available

DHI-mapb-i6rc-rin6-cy6r is a high vulnerability (CVSS 7.5) in pulldown-cmark, published October 28, 2026. No source lists public exploit code. Fixed in pulldown-cmark 0.13.6.

What does this mean?
Severity
7.5 HighCVSS 3.1, OSV
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists

Description

With Options::ENABLE_WIKILINKS, handle_wikilink builds a wikilink's target from the raw text of its body: scan_wikilink_pipe walks it looking for |, then contains('\0') and from_replace_nuls walk it again. Once a wikilink is created, disable_all_links only disables Link entries, so every enclosing ![[ stays live on the wikilink stack. On ![[![[![[…]]]]]] each of those openers then resolves in turn and rescans everything inside it, which is quadratic in the nesting depth. The event count stays tiny, because in the unpiped case each enclosing image replaces its body with a fresh text node, so all of that work is thrown away.

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 #1186 and released in 0.13.6.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Affected packages

Affected packages
PackageAffectedFixed
mise
Docker Hardened Images:Debian:13
Listed versions
2026.10.0-02026.10.1-02026.10.10-02026.10.12-02026.10.13-0
Show 28 moreShow less
2026.10.14-02026.10.15-02026.10.17-02026.10.18-02026.10.19-02026.10.20-02026.10.21-02026.10.22-02026.10.23-02026.10.24-02026.10.25-02026.10.3-02026.10.4-02026.10.5-02026.10.7-02026.10.8-02026.10.9-02026.11.0-02026.11.1-02026.11.2-02026.11.3-02026.11.4-02026.11.5-02026.11.6-02026.11.7-02026.11.8-02026.9.10-02026.9.18-0
None known
vector
Docker Hardened Images:Debian:13
Listed versions
0.58.0-00.59.0-00.60.0-00.61.0-0
None known
pulldown-cmark
crates.io
0.13.0 up to 0.13.6
0.13.6

What each source reports

OSV Score used7.5

With `Options::ENABLE_WIKILINKS`, handle_wikilink builds a wikilink's target

With Options::ENABLE_WIKILINKS, handle_wikilink builds a wikilink's target from the raw text of its body: scan_wikilink_pipe walks it looking for |, then contains('\0') and from_replace_nuls walk it again. Once a wikilink is created, disable_all_links only disables Link entries, so every enclosing ![[ stays live on the wikilink stack. On ![[![[![[…]]]]]] each of those openers then resolves in turn and rescans everything inside it, which is quadratic in the nesting depth. The event count stays tiny, because in the unpiped case each enclosing image replaces its body with a fresh text node, so all of that work is thrown away.

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 #1186 and released in 0.13.6.

Record
DHI-mapb-i6rc-rin6-cy6r
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-16
OSV Score usedRUSTSEC-2026-04337.5

Quadratic parsing of nested image wikilinks with `ENABLE_WIKILINKS`

With Options::ENABLE_WIKILINKS, handle_wikilink builds a wikilink's target from the raw text of its body: scan_wikilink_pipe walks it looking for |, then contains('\0') and from_replace_nuls walk it again. Once a wikilink is created, disable_all_links only disables Link entries, so every enclosing ![[ stays live on the wikilink stack. On ![[![[![[…]]]]]] each of those openers then resolves in turn and rescans everything inside it, which is quadratic in the nesting depth. The event count stays tiny, because in the unpiped case each enclosing image replaces its body with a fresh text node, so all of that work is thrown away.

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 #1186 and released in 0.13.6.

Record
RUSTSEC-2026-0433
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02

History

History
RecordedChangedSources
affected, aliases, facts, id, references, titleOSV
first indexedOSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open