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.
Published: 2026-10-19
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch Now
AI Analysis

Impact

Picomatch through version 4.0.7 implements a regular expression parser that can be exploited with specially crafted glob patterns. The flaw occurs when the parser encounters single-branch repeated extglob expressions such as +(*) or +(*a). Because analyzeRepeatedExtglob in lib/parse.js skips these patterns, the regex engine performs exponential backtracking against short strings, which can consume significant CPU time and stall the Node.js event loop. This denial of service affects the availability of any application that relies on picomatch for glob matching, effectively blocking further code execution until resources recover.

Affected Systems

The vulnerability affects the picomatch JavaScript package released by micromatch, specifically version 4.0.7 and earlier. Any Node.js application that imports or depends on this package for glob matching is at risk. No other vendors or product versions are listed for this CVE.

Risk and Exploitability

The flaw carries a CVSS score of 8.7, indicating a high severity. The EPSS score is not available, so the current probability of exploitation is uncertain, but the lack of a KEV listing does not exclude the possibility of targeted attacks via crafted glob inputs. Attackers would need the ability to supply arbitrary glob patterns to the application, which typically occurs through configurations, user input, or file names in environments that use picomatch. If such an opportunity exists, the exploited backtracking could tie up CPU resources, causing a denial of service to the application or its users. Thus, the risk remains significant primarily in environments where untrusted input is passed to the library without validation.

Generated by OpenCVE AI on October 19, 2026 at 16:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade picomatch to a version that addresses the ReDoS issue (e.g., 4.0.8 or later).
  • If upgrading is not immediately possible, sanitize or restrict the glob patterns that reach picomatch, such as blocking repeated extglob expressions or enforcing a maximum pattern length.
  • Monitor application performance for signs of excessive CPU usage and temporarily disable or limit picomatch usage during suspicious activity.

Generated by OpenCVE AI on October 19, 2026 at 16:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 19 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Micromatch
Micromatch picomatch
Vendors & Products Micromatch
Micromatch picomatch

Mon, 19 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title Picomatch through 4.0.7 ReDoS via single-branch repeated extglob patterns
First Time appeared Jonschlinkert
Jonschlinkert picomatch
Weaknesses CWE-1333
CPEs cpe:2.3:a:jonschlinkert:picomatch:*:*:*:*:*:*:*:*
Vendors & Products Jonschlinkert
Jonschlinkert picomatch
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Jonschlinkert Picomatch
Micromatch Picomatch
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-19T16:40:19.321Z

Reserved: 2026-10-19T15:20:39.194Z

Link: CVE-2026-112366

cve-icon Vulnrichment

Updated: 2026-10-19T16:40:12.896Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-19T16:17:07.500

Modified: 2026-10-19T21:13:39.973

Link: CVE-2026-112366

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-19T15:29:00Z

Links: CVE-2026-112366 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T19:45:02Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity