freenode

← CVE tracker

CVE-2026-120809

Heap use-after-free read via yield-time state save in time-series block unpacking

Severity
medium CVSS 6.1 (v4.0)
Affects
MongoDB Server · MongoDB
Weakness
CWE-416: Use After Free
Published
10 November 2026 by mongodb
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.