Use-After-Free Vulnerability in MongoDB Server's Query Engine
CVE-2026-120811
6MEDIUM
What is CVE-2026-120811?
A use-after-free vulnerability is present in the MongoDB server’s classic query engine plan cache, where an unowned reference to previously used data can remain in cached statistics. This occurs under specific query conditions, allowing an authenticated client to access freed heap memory when executing a diagnostic command, potentially revealing sensitive data from the server process. Furthermore, certain heap reuse scenarios could lead to server crashes.
Affected Version(s)
MongoDB Server 9.0.0 < 9.0.7
MongoDB Server 8.3.0 < 8.3.16
MongoDB Server 8.0.0 < 8.0.37