Use-after-free in MongoDB Server - CVE-2026-120818
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote user to disclose process memory contents and potentially affect server availability.
The vulnerability exists due to use-after-free in MongoDB Server's server-side JavaScript support for aggregation when processing crafted aggregation requests. A remote user can submit a single crafted aggregation request over the normal network protocol to cause previously freed memory to be read and returned, potentially exposing adjacent process memory contents, including data that undermines memory-layout randomization, and in some cases affecting server availability.