Use-after-free in MongoDB Server - CVE-2026-120811
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote privileged user to disclose sensitive server process memory contents and potentially cause a denial of service.
The vulnerability exists due to use-after-free in the MongoDB Server classic query engine plan cache when cached plan statistics retain an unowned reference to data from an earlier command after its originating memory is freed. A remote privileged user can trigger query conditions that retain this reference and subsequently issue a diagnostic command that serializes the cached statistics to read freed heap memory, potentially disclosing sensitive information or causing the server to crash under certain heap reuse conditions.