CVE-2026-120803: MongoDB SBE $locf Window Accumulator Use-After-Free Enables Heap OOB Read and Server Crash

CVE-2026-120803 affects 12 listed versions of MongoDB in the Dawnsentry catalogue.

7.1CVSS high
None knownexploitation
under 1%EPSS (next 30 days)
10 November 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

MongoDB

12 of 250 listed versions are affected. Fixed in 9.0.7, 8.3.16. The newest release, 9.0.8, is not affected.

9.0.4 9.0.2 8.3.13 8.3.11 8.3.9 8.3.8 8.3.7 8.3.4 8.3.3 8.3.2 8.3.1 8.3.0

What it is

A use-after-free issue exists in MongoDB’s SBE (Slot-Based Execution) implementation of a window function accumulator used by certain $setWindowFields aggregation pipelines. Under specific conditions, the accumulator can retain a dangling pointer to memory that has since been freed. When this stale pointer is later dereferenced during serialization of the carried-forward value, it can result in a heap out-of-bounds read that may expose adjacent heap contents and crash the mongod server. An authenticated user with readWrite privileges on a database can trigger this issue by crafting a specific aggregation pipeline.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H (Mongodb)

Published by Mongodb on 10 November 2026. Last changed 13 November 2026.

Sources

Check one version you run: look CVE-2026-120803 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.