Medium · published September 8, 2026
An integer overflow in the query planning component of MongoDB Server can allow an authenticated user with ordinary database-level read/write privileges to bypass an internal resource limit. Submitting a specially crafted query causes the server to consume memory without bound during query planning, and the resulting exhaustion terminates the server process. This may result in a denial of service affecting all databases served by the affected node.
| Product | Versions | Fixed in |
|---|---|---|
| mongodb/mongodb | ≥ 7.0.0, < 7.0.41 | 7.0.41 |
| mongodb/mongodb | ≥ 8.0.0, < 8.0.30 | 8.0.30 |
| mongodb/mongodb | ≥ 8.2.0, < 8.2.13 | 8.2.13 |
| mongodb/mongodb | ≥ 8.3.0, < 8.3.9 | 8.3.9 |
| mongodb/mongodb | all versions | — |
| mongodb/mongodb | all versions | — |