Original description
A specially crafted aggregation query with $lookup by an authenticated user with write privileges can cause a double-free or use-after-free memory issue in the slot-based execution (SBE) engine when an in-memory hash table is spilled to disk.
Affected software
- MongoDB ≥ 7.0.0 < 7.0.31≥ 8.0.0 < 8.0.20≥ 8.2.0 < 8.2.6 Fixed in: 7.0.31, 8.0.20, 8.2.6 exact match
Details
- Published
- 2026-03-18
- Last modified
- 2026-03-18
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N- CWE
- CWE-415
- EPSS (30-day exploit probability)
- 0.39% (percentile 33)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.