Skip to content
Heist/ feed
Back to feed
High

node-minimatch — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-26996

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions 10.2.0 and below are vulnerable to Regular Expression Denial of Service (ReDoS) when a glob pattern contains many consecutive * wildcards followed by a literal character that doesn't appear in the test string. Each * compiles to a separate [^/]*? regex group, and when the match fails, V8's regex engine backtracks exponentially across all possible splits. The time complexity is O(4^N) where N is the number of * characters. With N=15, a single minimatch() call takes ~2 seconds. With N=34, it hangs effectively forever. Any application that passes user-controlled strings to minimatch() as the pattern argument is vulnerable to DoS. This issue has been fixed in version 10.2.1.

Products
node-minimatch
Affected versions
0.2.11-1, 0.2.12-1, 0.2.12-1ubuntu0.1~esm2, 1.0.0-1, 1.0.0-1ubuntu0.1~esm2, 3.0.4+~3.0.3-1, 3.0.4+~3.0.5-1, 3.0.4-1, 3.0.4-3, 3.0.4-3+deb10u1build0.18.04.1, 3.0.4-4, 3.0.4-4ubuntu0.1, 3.1.1+~3.0.5-1, 5.1.1+~5.1.2-1, 9.0.3-4build5, 9.0.3-5, 9.0.3-6, 9.0.7-1
Fixed versions
Not specified
CVEs
CVE-2026-26996
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:42 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-26996

core-osv · Original source

Published 20 Feb 2026, 03:16 UTC

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions 10.2.0 and below are vulnerable to Regular Expression Denial of Service (ReDoS) when a glob pattern contains many consecutive * wildcards followed by a literal character that doesn't appear in the test string. Each * compiles to a separate [^/]*? regex group, and when the match fails, V8's regex engine backtracks exponentially across all possible splits. The time complexity is O(4^N) where N is the number of * characters. With N=15, a single minimatch() call takes ~2 seconds. With N=34, it hangs effectively forever. Any application that passes user-controlled strings to minimatch() as the pattern argument is vulnerable to DoS. This issue has been fixed in version 10.2.1.

osv:UBUNTU-CVE-2026-26996

node-minimatch

Fixed versions: Not specified

node-minimatch

Fixed versions: Not specified

node-minimatch

Fixed versions: Not specified

node-minimatch

Fixed versions: Not specified

node-minimatch

Fixed versions: Not specified

node-minimatch

Fixed versions: Not specified

node-minimatch

Fixed versions: Not specified

node-minimatch

Fixed versions: Not specified

node-minimatch

Fixed versions: Not specified

Complete source record
{
  "id": "34fe3d0d9205183e298896cca0d9a84e20faec6c594fd8ab3df42d244acbc82a",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-26996",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-26996",
    "summary": "minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions 10.2.0 and below are vulnerable to Regular Expression Denial of Service (ReDoS) when a glob pattern contains many consecutive * wildcards followed by a literal character that doesn't appear in the test string. Each * compiles to a separate [^/]*? regex group, and when the match fails, V8's regex engine backtracks exponentially across all possible splits. The time complexity is O(4^N) where N is the number of * characters. With N=15, a single minimatch() call takes ~2 seconds. With N=34, it hangs effectively forever. Any application that passes user-controlled strings to minimatch() as the pattern argument is vulnerable to DoS. This issue has been fixed in version 10.2.1.",
    "evidence": "osv:UBUNTU-CVE-2026-26996",
    "products": [
      {
        "name": {
          "value": "node-minimatch",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.2.11-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.12-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.12-1ubuntu0.1~esm2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimatch",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.0.0-1ubuntu0.1~esm2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimatch",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.4-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.4-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.4-3+deb10u1build0.18.04.1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimatch",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.4-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.0.4-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.0.4-4ubuntu0.1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimatch",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.4+~3.0.3-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.0.4+~3.0.5-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.1.1+~3.0.5-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimatch",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.1.1+~5.1.2-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "9.0.3-4build5",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimatch",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.0.3-5",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "9.0.3-6",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimatch",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.0.3-6",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "9.0.7-1",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimatch",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "9.0.3-6",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-26996",
      "aliases": [
        "UBUNTU-CVE-2026-26996"
      ],
      "metrics": [
        {
          "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"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimatch",
            "purl": "pkg:deb/ubuntu/node-minimatch?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "0.2.11-1",
            "0.2.12-1",
            "0.2.12-1ubuntu0.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimatch",
                "binary_version": "0.2.12-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimatch",
            "purl": "pkg:deb/ubuntu/node-minimatch?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.0.0-1",
            "1.0.0-1ubuntu0.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimatch",
                "binary_version": "1.0.0-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimatch",
            "purl": "pkg:deb/ubuntu/node-minimatch?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "3.0.4-1",
            "3.0.4-3",
            "3.0.4-3+deb10u1build0.18.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimatch",
                "binary_version": "3.0.4-3+deb10u1build0.18.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimatch",
            "purl": "pkg:deb/ubuntu/node-minimatch?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.0.4-3",
            "3.0.4-4",
            "3.0.4-4ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimatch",
                "binary_version": "3.0.4-4ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimatch",
            "purl": "pkg:deb/ubuntu/node-minimatch?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.0.4+~3.0.3-1",
            "3.0.4+~3.0.5-1",
            "3.1.1+~3.0.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimatch",
                "binary_version": "3.1.1+~3.0.5-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimatch",
            "purl": "pkg:deb/ubuntu/node-minimatch?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "5.1.1+~5.1.2-1",
            "9.0.3-4build5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimatch",
                "binary_version": "9.0.3-4build5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimatch",
            "purl": "pkg:deb/ubuntu/node-minimatch?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "9.0.3-5",
            "9.0.3-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimatch",
                "binary_version": "9.0.3-6"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimatch",
            "purl": "pkg:deb/ubuntu/node-minimatch?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "9.0.3-6",
            "9.0.7-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimatch",
                "binary_version": "9.0.7-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimatch",
            "purl": "pkg:deb/ubuntu/node-minimatch?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "9.0.3-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26996.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimatch",
                "binary_version": "9.0.3-6"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:48.637837510Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-26996"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-26996",
        "https://www.cve.org/CVERecord?id=CVE-2026-26996",
        "https://github.com/isaacs/minimatch/security/advisories/GHSA-3ppc-4f35-3m26",
        "https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-26996",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359072,
  "published_at": "2026-02-20T03:16:00+00:00"
}