All reports
High

picomatch: picomatch: Denial of Service via single-branch repeated extglob patterns

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-112366

Probability of exploitation in the next 30 days: 0.34%

FIRST EPSS · 2026-11-18

Description

Picomatch through 4.0.7 contains a regular expression denial of service vulnerability that allows attackers to block the event loop by supplying single-branch repeated extglob patterns. Attackers can provide globs like +(*) or +(*a), which analyzeRepeatedExtglob in lib/parse.js skips, causing exponential backtracking against short crafted strings and denying service to Node.js applications.

A flaw was found in picomatch. A remote attacker can trigger this vulnerability by supplying crafted pattern-matching inputs containing single-branch repeated extglob expressions. Processing these inputs causes exponential regular expression backtracking, which blocks the event loop and leads to a Denial of Service (DoS).