Intel

AIKIDO-2026-10249

erusev/parsedown is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 25, 2026

25

Low Risk

This Affects:

PHPerusev/parsedown
0.0.1 - 1.7.4
Fixed in 1.8.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a regular expression denial of service (ReDoS) vulnerability caused by inefficient regex patterns used during Markdown parsing. Specially crafted input containing malformed emphasis markers or similar adversarial sequences can trigger catastrophic backtracking, leading to excessive CPU or memory consumption and potentially causing the application to hang or become unavailable. The issue is fixed by updating regex patterns throughout the parser to use possessive quantifiers, preventing backtracking and eliminating the denial-of-service condition.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

erusev/parsedown is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 0.0.1 - 1.7.4.

How to fix this

Upgrade the erusev/parsedown library to the patch version.