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

High 7.1 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-120803?

CVE-2026-120803 is a high-severity vulnerability in MongoDB Server, published on 10 Nov 2026.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2026-120803?

How do I fix CVE-2026-120803?

No fix has been published for CVE-2026-120803 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-120803 being exploited?

There is no known exploitation of CVE-2026-120803 in the wild and no public exploit code.

Sources

Also known as GHSA-xqmg-xhh6-75p8.

Is CVE-2026-120803 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free