CVE-2026-120809
JSON

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 packageVersionsReported by
MongoDB MongoDB Serverfrom 9.0.0 before 9.0.7, from 8.3.0 before 8.3.16, from 8.0.0 before 8.0.37CVE List

All scores

mongodb6.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
mongodb6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120809 changed 2026-11-13CVE Terms of Use
NVDCVE-2026-120809 changed 2026-11-13Public domain