Vulnerabilities in pkg:npm/picomatch
PACKAGECVE-2026-112366 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-1333: Inefficient Regular Expression Complexity) affecting Withdrawn Advisory libraries in the npm ecosystem. The issue involves picomatch vulnerable to redos through single-branch repeated extglobs. Remediation is available in the latest vendor maintenance releases.
pkg:npm/picomatch
Vulnerability advisories affecting package pkg:npm/picomatch. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-fc5q-39xc-vjpf | CVE-2026-112366 | HIGH | Withdrawn Advisory: picomatch vulnerable to ReDoS through single-branch repeated extglobs |
| GHSA-3v7f-55p6-f55p | CVE-2026-33672 | MODERATE | Picomatch: Method Injection in POSIX Character Classes causes incorrect Glob Matching |
| GHSA-c2c7-rcm5-vvqj | CVE-2026-33671 | HIGH | Picomatch has a ReDoS vulnerability via extglob quantifiers |
CVE-2026-112366 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-112366
To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install picomatch@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls picomatch
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-112366, inspect your project dependencies using npm:
npm ls picomatch
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls picomatch command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1333: Inefficient Regular Expression Complexity, where the product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-112366 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
picomatch
|
npm |
≤ 4.0.7
|
|
References
Frequently Asked Questions
What is CVE-2026-112366?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2026-112366?
Is picomatch affected?
What is the CVSS score of CVE-2026-112366?
What CWE is associated with CVE-2026-112366?
How can I check npm dependencies for CVE-2026-112366?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fc5q-39xc-vjpf",
"modified" : "2026-11-19T16:07:39Z",
"published" : "2026-10-19T18:32:12Z",
"withdrawn" : "2026-11-18T15:38:56Z",
"aliases" : [ "CVE-2026-112366" ],
"summary" : "Withdrawn Advisory: picomatch vulnerable to ReDoS through single-branch repeated extglobs",
"details" : "## Withdrawn Advisory\n\nThis advisory has been withdrawn because it is not a security issue. See https://github.com/micromatch/picomatch/pull/235#issuecomment-6315749381 for more information. This link is maintained to preserve external references.\n\n## Original Description\nPicomatch 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "picomatch"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.0.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-112366"
}, {
"type" : "WEB",
"url" : "https://github.com/micromatch/picomatch/pull/194"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/micromatch/picomatch"
}, {
"type" : "WEB",
"url" : "https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L287-L307"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/picomatch-through-4.0.7-redos-via-single-branch-repeated-extglob-patterns"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1333" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-17T15:56:42Z",
"nvd_published_at" : "2026-10-19T16:17:07Z"
}
}