Medium · published July 23, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| mongodb/mongodb | ≥ 8.2.0, < 8.2.12 | 8.2.12 |
| mongodb/mongodb | ≥ 8.3.0, < 8.3.7 | 8.3.7 |