
CVE catalog
CVE-2026-33671
Picomatch is a glob matcher written JavaScript. Versions prior to 4.0.4, 3.0.2, and 2.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) when processing crafted extglob patterns. Certa
- Severity
- High · CVSS 7.5
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.42% · Oct 25, 2026
Picomatch is a glob matcher written JavaScript. Versions prior to 4.0.4, 3.0.2, and 2.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) when processing crafted extglob patterns. Certain patterns using extglob quantifiers such as `+()` and `*()`, especially when combined with overlapping alternatives or nested extglobs, are compiled into regular expressions that can exhibit catastrophic backtracking on non-matching input. Applications are impacted when they allow untrusted users to supply glob patterns that are passed to `picomatch` for compilation or matching. In those cases, an attacker can cause excessive CPU consumption and block the Node.js event loop, resulting in a denial of service. Applications that only use trusted, developer-controlled glob patterns are much less likely to be exposed in a security-relevant way. This issue is fixed in picomatch 4.0.4, 3.0.2 and 2.3.2. Users should upgrade to one of these versions or later, depending on their supported release line. If upgrading is not immediately possible, avoid passing untrusted glob patterns to `picomatch`. Possible mitigations include disabling extglob support for untrusted patterns by using `noextglob: true`, rejecting or sanitizing patterns containing nested extglobs or extglob quantifiers such as `+()` and `*()`, enforcing strict allowlists for accepted pattern syntax, running matching in an isolated worker or separate process with time and resource limits, and applying application-level request throttling and input validation for any endpoint that accepts glob patterns.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-anymatch | sid | 3.1.3+~cs8.0.6-1 | fixed |
| Debian | node-anymatch | forky | 3.1.3+~cs8.0.6-1 | fixed |
| Debian | node-anymatch | trixie | 3.1.3+~cs4.6.1-2 | vulnerable |
| Debian | node-anymatch | bookworm | 3.1.3+~cs4.6.1-2 | vulnerable |
| Cpe | node-anymatch | Not reported | Not reported | vulnerable |
| Cpe | picomatch | Not reported | 2.3.2 | fixed |
| Cpe | picomatch | Not reported | 3.0.2 | fixed |
| Cpe | picomatch | Not reported | 4.0.4 | fixed |
| Npm | picomatch | Not reported | 2.3.2 | fixed |
| Npm | picomatch | Not reported | 3.0.2 | fixed |
| Npm | picomatch | Not reported | 2.3.2 | fixed |
| Ubuntu | node-anymatch | 18.04 | 1.3.0-1 | vulnerable |
| Ubuntu | node-anymatch | 20.04 | 3.0.3+~2.0.7-3 | vulnerable |
| Ubuntu | node-anymatch | 20.04 | 3.1.1+~2.1.1-1 | vulnerable |
| Ubuntu | node-anymatch | 22.04 | 3.1.1+~2.2.2-1 | vulnerable |
| Ubuntu | node-anymatch | 22.04 | 3.1.2+~cs4.5.6-1 | vulnerable |
| Ubuntu | node-anymatch | 24.04 | 3.1.3+~cs4.6.1-2 | vulnerable |
| Ubuntu | node-anymatch | 25.10 | 3.1.3+~cs4.6.1-2 | vulnerable |
| Ubuntu | node-anymatch | 26.04 | 3.1.3+~cs4.6.1-2 | vulnerable |
| Ubuntu | node-anymatch | 26.04 | 3.1.3+~cs8.0.6-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-anymatch | source | sid | 3.1.3+~cs8.0.6-1 | not yet assigned | Not reported | [1132160] |
| Debian | node-anymatch | source | forky | 3.1.3+~cs8.0.6-1 | not yet assigned | Not reported | [1132160] |
| Debian | node-anymatch | source | trixie | (unfixed) | not yet assigned | Not reported | [1132160] |
| Debian | node-anymatch | source | bookworm | (unfixed) | not yet assigned | Not reported | [1132160] |
| Cpe | picomatch | cpe | Not reported | 2.3.2 | Not reported | Not reported | Not reported |
| Cpe | picomatch | cpe | Not reported | 3.0.2 | Not reported | Not reported | Not reported |
| Cpe | picomatch | cpe | Not reported | 4.0.4 | Not reported | Not reported | Not reported |
| Npm | picomatch | npm | Not reported | 2.3.2 | Not reported | GHSA-C2C7-RCM5-VVQJ | Not reported |
| Npm | picomatch | npm | Not reported | 3.0.2 | Not reported | Not reported | Not reported |
| Npm | picomatch | npm | Not reported | 2.3.2 | Not reported | Not reported | Not reported |
Notes
[trixie] node-anymatch: Minor issue [bookworm] node-anymatch: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-anymatch]Affected
Details (2)
3.1.3+~cs4.6.1-2· all · bookwormAffected
nvd · node-anymatch · debian · bookworm; nvd · node-anymatch · debian · 12
3.1.3+~cs4.6.1-2· all · bookwormAffected
nvd · node-anymatch · debian · bookworm; nvd · node-anymatch · debian · 12
[Debian 13 (Trixie)]
- [node-anymatch]Affected
Details (2)
3.1.3+~cs4.6.1-2· all · trixieAffected
nvd · node-anymatch · debian · 13
3.1.3+~cs4.6.1-2· all · trixieAffected
nvd · node-anymatch · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-33671]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-33671]
- [https://osv.dev/vulnerability/GHSA-c2c7-rcm5-vvqj]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-33671]
- [https://security-tracker.debian.org/tracker/CVE-2026-33671]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33671.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2460.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]