All vulnerabilities

npm

CVE-2026-112366

picomatch vulnerable to ReDoS through single-branch repeated extglobs

Severity
High 7.5
Published
19 Oct 2026
Last changed
17 Nov 2026
Added to UpHeron
18 Nov 2026
Exploit chance
0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Regular expression denial of service (ReDoS) (CWE-1333)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Also known as
GHSA-fc5q-39xc-vjpf
Sources
OSV.dev and GitHub

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.

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
picomatchnpm · osv:npm:picomatch
  • Every version up to 4.0.7

About picomatch

Weekly downloads (npm)
721,723,196npm, 18 Nov 2026

This is the only vulnerability in picomatch in our list.

References