CVE-2026-120809
6.1medium
Heap use-after-free read via yield-time state save in time-series block unpacking
- Severity
- 6.1medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB MongoDB Server | from 9.0.0 before 9.0.7, from 8.3.0 before 8.3.16, from 8.0.0 before 8.0.37 | CVE List |
All scores
| mongodb | 6.1medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N |
| mongodb | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120809 changed 2026-11-13 | CVE Terms of Use |
| NVD | CVE-2026-120809 changed 2026-11-13 | Public domain |