Description
Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript `RegExp` objects. The primary function, `minimatch(path, pattern)` in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the `pattern` parameter.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HackerOne | minimatch node module | <=3.0.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-minimatch | 3.0.3-1 | — |
| Debian 13 | node-minimatch | 3.0.3-1 | — |
| Debian 12 | node-minimatch | 3.0.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | node-minimatch | 1.0.0-1ubuntu0.1~esm2 | USN-4783-1 |
| Ubuntu Pro 14.04 LTS | node-minimatch | 0.2.12-1ubuntu0.1~esm2 | USN-4783-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | js-jquery | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | minimatch | < 3.0.2 | 3.0.2 | GHSA-hxm2-r34f-qmc5 |
Advisories 3
- WID-SEC-2026-2460 Atlassian Bamboo, Bitbucket, Confluence, Fisheye, Crucible, Jira und Jira Service Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2026
- USN-4783-1 node-minimatch vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- WID-SEC-2024-1591 Juniper JUNOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2024