Heap use-after-free read via yield-time state save in time-series block unpacking
- State
- Published
- Severity
- 6.1 Medium
- Published
- Nov 10, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 2, 2026
Description
A use-after-free read issue exists in MongoDB’s SBE (Slot-Based Execution) engine when processing aggregation pipelines with $unwind on time-series collections. An internal error in state-preservation logic can cause a value still referenced by downstream stages to have its underlying memory freed prematurely. An authenticated user can craft an aggregation pipeline under specific conditions to trigger this condition, potentially reading recycled server heap memory in query results or crashing the server. This issue is only triggerable when a non-default server parameter related to the SBE engine is enabled.
| Product | Versions |
|---|---|
| MongoDB Server MongoDB | 9.0.0 to before 9.0.7 Affected8.3.0 to before 8.3.16 Affected8.0.0 to before 8.0.37 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.1 Medium | mongodb | |
| 3.1 | 6.8 Medium | mongodb |
Weaknesses
- CWE-416 Use After Free
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.