CVE-2026-120811
Description
A use-after-free issue exists in the MongoDB server’s classic query engine plan cache. Under certain query conditions, an unowned reference to data from an earlier command can be retained in cached plan statistics. After the originating memory is freed, a subsequent diagnostic command serializing those statistics can read freed heap memory, potentially returning sensitive server process memory contents to the authenticated client. Under certain heap reuse conditions, this may also cause the server to crash.
How to fix
- MongoDB MongoDB Server9.0.7, 8.3.16, 8.0.37, 7.0.48 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB MongoDB Server | 9.0.0 ≤ v < 9.0.7, 8.3.0 ≤ v < 8.3.16, 8.0.0 ≤ v < 8.0.37, 7.0.0 ≤ v < 7.0.48 | 9.0.7, 8.3.16, 8.0.37, 7.0.48 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.