Use-after-free in MongoDB Server - CVE-2026-120811

 

Use-after-free in MongoDB Server - CVE-2026-120811

Published: November 16, 2026


Vulnerability identifier: #VU166285
CSH Severity: Low
CVSS v4: 7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120811
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

MongoDB Server

How to mitigate CVE-2026-120811

Install security update from vendor's website.

MongoDB Server - addressed in versions 7.0.48, 8.0.37, 8.3.16, 9.0.7

External References

Related Security Bulletins