Use-after-free in MongoDB Server - CVE-2026-120803
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote user to crash the MongoDB server and potentially disclose adjacent heap contents.
The vulnerability exists due to use-after-free in MongoDB’s SBE $locf window accumulator when serializing a carried-forward value in certain $setWindowFields aggregation pipelines. A remote user can submit a crafted aggregation pipeline with readWrite privileges on a database to trigger dereferencing of a dangling pointer, causing a heap out-of-bounds read that may disclose adjacent heap contents and crash the mongod server.