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

 

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

Published: November 16, 2026


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

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.


Affected software

MongoDB Server

How to mitigate CVE-2026-120818

Install security update from vendor's website.

MongoDB Server - addressed in versions 7.0.48, 8.0.37, 8.3.16

External References

Related Security Bulletins