You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
panic on Option::unwrap() in parse.rs:2367 via crafted markdown input (reachable from safe API) #1097
pulldown_cmark::Parser::new(s) followed by event iteration panics on crafted markdown input. The panic occurs at parse.rs:2367 inside an Option::unwrap() site in the parser state machine.
This is a reachable panic from the safe public API. Any application that renders user-provided markdown without explicit panic isolation (catch_unwind) crashes on this input.
Affected version
pulldown-cmark 0.13.3 (latest as of 2026-05-12)
Panic trace
thread '<unnamed>' panicked at pulldown-cmark-0.13.3/src/parse.rs:2367:37:
called `Option::unwrap()` on a `None` value
==ERROR: libFuzzer: deadly signal
Medium — DoS reachable from safe code. Not memory corruption.
Discovery
Found by SecureLoop, an ML-guided fuzzing orchestrator. Time-to-crash: 3 minutes from empty corpus. This issue is filed at maintainer's request to reference PR #1096.
Activity
notriddle commentedon May 26, 2026
Fixed by #1096