Description
The $regexFindAll expression can be used by an authenticated user who can run aggregation pipeline stages to crash a MongoDB server (mongod). Under certain specific conditions the regex match can start in the middle of a multi-code-unit character, triggering an assertion during query execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | MongoDB Server | 8.3.0 – < 8.3.9, 8.0 – < 8.0.30, 7.0 – < 7.0.41 | 8.3.9 |
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | mongodb | No fix yet | — |
| Ubuntu Pro 18.04 LTS | mongodb | No fix yet | — |
| Ubuntu Pro 16.04 LTS | mongodb | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | mongodb | No fix yet | — |
Advisories 2
- WID-SEC-2026-3320 MongoDB: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- WID-SEC-2026-3236 MongoDB Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 8, 2026