`glob` sets `braceExpandMax: 10_000` when it parses *pattern* patterns, but the `Ignore` class builds its own `minimatch` options and omits `braceExpandMax` entirely, so ignore patterns fall back to minimatch's default of `100_000`. Both paths force `optimizationLevel: 2`, which is the exact precondition for minimatch's globparts amplification (CVE-2026-118764, GHSA-g3hv-75wg-m249) — minimatch's own default is `1`.
The consequence is that the same payload is rejected in milliseconds when passed as a pattern, but is accepted and burns far more CPU when passed as an ignore pattern.
### Root cause
`src/glob.ts:527-529` — pattern path, limit present:
```ts
const mmo: MinimatchOptions = {
braceExpandMax: 10_000,
...opts,
```
`src/ignore.ts:71-83` — ignore path, limit missing:
```ts
this.mmopts = {
dot: true,
nobrace,
nocase,
noext,
noglobstar,
normalize,
optimizationLevel: 2, // forced, and the amplification precondition
platform,
nocomment: true,
nonegate: true,
windowsPathsNoEscape,
} // <-- no braceExpandMax
```
minimatch `>= 11.0.1` fixed CVE-2026-118764 by throwing a `RangeError` once `globParts.length >= braceExpandMax`. The pattern path caps rows at `10_000`; the ignore path allows `100_000`. The amplified rows then go through minimatch's `secondPhasePreProcess()`, which is O(n²) pairwise `partsMatch`.
### Reproduction
```js
import { Volume, createFsFromVolume } from 'memfs'
import { glob } from 'glob'