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

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debiannode-anymatchsid3.1.3+~cs8.0.6-1fixed
Debiannode-anymatchforky3.1.3+~cs8.0.6-1fixed
Debiannode-anymatchtrixie3.1.3+~cs4.6.1-2vulnerable
Debiannode-anymatchbookworm3.1.3+~cs4.6.1-2vulnerable
Cpenode-anymatchNot reportedNot reportedvulnerable
CpepicomatchNot reported2.3.2fixed
CpepicomatchNot reported3.0.2fixed
CpepicomatchNot reported4.0.4fixed
NpmpicomatchNot reported2.3.2fixed
NpmpicomatchNot reported3.0.2fixed
NpmpicomatchNot reported2.3.2fixed
Ubuntunode-anymatch18.041.3.0-1vulnerable
Ubuntunode-anymatch20.043.0.3+~2.0.7-3vulnerable
Ubuntunode-anymatch20.043.1.1+~2.1.1-1vulnerable
Ubuntunode-anymatch22.043.1.1+~2.2.2-1vulnerable
Ubuntunode-anymatch22.043.1.2+~cs4.5.6-1vulnerable
Ubuntunode-anymatch24.043.1.3+~cs4.6.1-2vulnerable
Ubuntunode-anymatch25.103.1.3+~cs4.6.1-2vulnerable
Ubuntunode-anymatch26.043.1.3+~cs4.6.1-2vulnerable
Ubuntunode-anymatch26.043.1.3+~cs8.0.6-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-anymatchsourcesid3.1.3+~cs8.0.6-1not yet assignedNot reported[1132160]
Debiannode-anymatchsourceforky3.1.3+~cs8.0.6-1not yet assignedNot reported[1132160]
Debiannode-anymatchsourcetrixie(unfixed)not yet assignedNot reported[1132160]
Debiannode-anymatchsourcebookworm(unfixed)not yet assignedNot reported[1132160]
CpepicomatchcpeNot reported2.3.2Not reportedNot reportedNot reported
CpepicomatchcpeNot reported3.0.2Not reportedNot reportedNot reported
CpepicomatchcpeNot reported4.0.4Not reportedNot reportedNot reported
NpmpicomatchnpmNot reported2.3.2Not reportedGHSA-C2C7-RCM5-VVQJNot reported
NpmpicomatchnpmNot reported3.0.2Not reportedNot reportedNot reported
NpmpicomatchnpmNot reported2.3.2Not reportedNot reportedNot reported

[Debian bug #1132160]

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 · bookworm

      Affected

      nvd · node-anymatch · debian · bookworm; nvd · node-anymatch · debian · 12

    • 3.1.3+~cs4.6.1-2 · all · bookworm

      Affected

      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 · trixie

      Affected

      nvd · node-anymatch · debian · 13

    • 3.1.3+~cs4.6.1-2 · all · trixie

      Affected

      nvd · node-anymatch · debian · 13

Observed:

References