Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 67%

CVE-2026-33671: CWE-1333: Inefficient Regular Expression Complexity in micromatch picomatch

0
High
VulnerabilityCVE-2026-33671cvecve-2026-33671cwe-1333
Published: 03/26/2026 (03/26/2026, 21:20:48 UTC)
Source: CVE Database V5
Vendor/Project: micromatch
Product: picomatch

Description

Picomatch versions prior to 4.0.4, 3.0.2, and 2.3.2 contain a Regular Expression Denial of Service (ReDoS) vulnerability due to inefficient handling of certain extglob patterns. Crafted patterns using quantifiers like +() and *(), especially with nested or overlapping extglobs, can cause catastrophic backtracking, leading to excessive CPU usage and blocking the Node.js event loop. This results in a denial of service condition when untrusted user input is processed.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

picomatch
pkg:npm/picomatch
Affected versions
<2.3.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/03/2026, 13:31:49 UTC

Technical Analysis

Picomatch is a JavaScript glob matcher vulnerable to a Regular Expression Denial of Service (ReDoS) in versions before 4.0.4, 3.0.2, and 2.3.2. The issue arises when certain crafted extglob patterns with quantifiers such as +() and *(), particularly those with nested or overlapping alternatives, are compiled into regular expressions that cause catastrophic backtracking on non-matching input. This leads to excessive CPU consumption and blocks the Node.js event loop, causing denial of service. The vulnerability affects applications that accept untrusted glob patterns passed to picomatch. The issue has been addressed in the specified fixed versions. Mitigations include upgrading, disabling extglob for untrusted input, sanitizing patterns, enforcing allowlists, isolating matching in separate processes, and applying input validation and throttling.

Potential Impact

An attacker can cause a denial of service by supplying crafted glob patterns that trigger catastrophic backtracking in picomatch's regular expression engine. This results in high CPU usage and blocks the Node.js event loop, potentially making the affected application unresponsive. There is no impact on confidentiality or integrity reported. The vulnerability is exploitable remotely without authentication if untrusted input is processed.

Mitigation Recommendations

A fix is available in picomatch versions 4.0.4, 3.0.2, and 2.3.2. Users should upgrade to one of these versions or later according to their supported release line. If upgrading is not immediately feasible, avoid passing untrusted glob patterns to picomatch. Additional mitigations include disabling extglob support for untrusted input by setting 'noextglob: true', rejecting or sanitizing patterns containing nested extglobs or quantifiers like +() and *(), enforcing strict allowlists for accepted pattern syntax, running matching operations in isolated workers or separate processes with resource limits, and applying application-level request throttling and input validation on endpoints accepting glob patterns.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-23T16:34:59.930Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c5a8ce3c064ed76fd1dae2

Added to database: 03/26/2026, 21:44:46 UTC

Last enriched: 04/03/2026, 13:31:49 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 324

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses