Description
This issue can occur when running an aggregation pipeline that uses the internal $exchange stage configured with key-range partitioning and order-preserving delivery. If a single key range produces enough documents to fill its exchange buffer (that is, many results are routed to the same consumer), the server reaches the code path where a full per-consumer buffer is detected but the internal "high watermark" for that key range is not updated as intended.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | MongoDB Server | 8.3.0 – < 8.3.3, 8.2.0 – < 8.2.10, 8.0.0 – < 8.0.24, 7.0.0 – < 7.0.35 | 8.3.3 |
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
- NCSC-2026-0209 Kwetsbaarheden verholpen in MongoDB Server NCSC-NL (Netherlands) · Jun 23, 2026
- WID-SEC-2026-1868 MongoDB: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 10, 2026