MongoDBCVE-2026-13072
MongoDB Server: memory corruption
Fix: upgrade to 7.0.39 or later (4 fixed versions below)
When compute mode is enabled on a standalone mongod instance, insufficient validation of externally sourced BSON data during aggregation pipeline processing can result in memory corruption, potentially leading to process termination or other unintended behavior. This configuration is non-default and requires explicit enablement at startup.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| MongoDB Server Product | >= 7.0, < 7.0.39 | 7.0.39 |
| >= 8.0, < 8.0.28 | 8.0.28 | |
| >= 8.2.0, < 8.2.12 | 8.2.12 | |
| >= 8.3.0, < 8.3.7 | 8.3.7 |
Details and references
- CVSS 4.0
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-122