Use-After-Free in MongoDB Server JavaScript Support for Aggregation Leads to Information Disclosure
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 10, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 2, 2026
Description
A use-after-free weakness in MongoDB Server's server-side JavaScript support for aggregation may allow a stale reference to previously freed process memory to be read and returned. An authenticated user with minimal or no assigned roles can trigger this condition over the normal network protocol by submitting a single crafted aggregation request, with no additional privileges or non-default configuration. Successful triggering this issue may result in adjacent process memory contents being returned, including data that undermines memory-layout randomization, and may in some cases affect server availability.
| Product | Versions |
|---|---|
| MongoDB Server MongoDB | 8.3.0 to before 8.3.16 Affected8.0.0 to before 8.0.37 Affected7.0.0 to before 7.0.48 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | mongodb | |
| 3.1 | 7.1 High | mongodb |
Weaknesses
- CWE-416 Use After Free
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.