Description
An authenticated user with standard read/write privileges can cause the mongod process to terminate due to an out-of-memory condition by sending a crafted aggregation command. MongoDB's libmongocrypt library insufficiently validates payload-supplied values, which can result in an excessively large memory allocation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | MongoDB Server | 8.2.0 – < 8.2.12, 8.3.0 – < 8.3.7 | 8.2.12 |
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 26.10 | libmongocrypt | No fix yet | — |
| Ubuntu 26.04 LTS | libmongocrypt | No fix yet | — |
| Ubuntu 24.04 LTS | libmongocrypt | No fix yet | — |
| Ubuntu 22.04 LTS | libmongocrypt | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| 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 | — |
| Ubuntu Pro 14.04 LTS | mongodb | No fix yet | — |
Advisories 1
- WID-SEC-2026-2487 MongoDB: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 22, 2026