Skip to content

Add pulldown-cmark quadratic-time parsing DoS advisory - #3444

Closed
come-bruneteau wants to merge 1 commit into
rustsec:mainfrom
come-bruneteau:advisory/pulldown-cmark-quadratic-dos
Closed

come-bruneteau wants to merge 1 commit into
rustsec:mainfrom
come-bruneteau:advisory/pulldown-cmark-quadratic-dos

Conversation

@come-bruneteau

@come-bruneteau come-bruneteau commented Oct 25, 2026 •

Copy link
Copy Markdown

Affected crate(s)

  • pulldown-cmark
  • Affected versions: >=0.10.0, <0.13.5
  • Patched version: 0.13.5

Links to upstream issue(s) or PR(s)

Severity

Potential denial of service through excessive CPU consumption when parsing attacker-controlled Markdown with ENABLE_FOOTNOTES enabled.

Repeated footnote-like line prefixes can trigger quadratic-time parsing due to repeated UTF-8 validation over the remaining input.

The issue was introduced in version 0.10.0 and fixed in 0.13.5. No CVSS score has been assigned.

Checklist

  • Advisory filename(s) starts with RUSTSEC-0000-0000 as the ID
  • date field is set to the public disclosure date
  • Contains a concise and descriptive title after advisory metadata
  • Asked maintainer(s) if publishing an advisory is appropriate

A CVE assignment has been requested from MITRE and is pending.

@djc

djc commented Oct 26, 2026

Copy link
Copy Markdown
Member

Please use the pull request template.

@come-bruneteau

Copy link
Copy Markdown
Author

Updated the PR description. Thanks for pointing that out!

@djc

djc commented Oct 27, 2026

Copy link
Copy Markdown
Member

@notriddle do you think an advisory is appropriate for this issue?

@notriddle

Copy link
Copy Markdown
Contributor

I’ve opened an internal discussion about this. We’ve never done it before, but I can’t find anywhere that it’s been discussed.

@djc

djc commented Nov 2, 2026

Copy link
Copy Markdown
Member

@djc djc closed this Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants