CVE-2026-120803

published 10 Nov 2026 · updated 13 Nov 2026

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

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 8.3.16 and Server 9.0.7.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=8.3.0 <8.3.16, >=9.0.0 <9.0.78.3.16, 9.0.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120803 severity on Zeptric[![CVE-2026-120803](https://zeptric.io/badge/cve/CVE-2026-120803.svg)](https://zeptric.io/cve/CVE-2026-120803)