CVE-2026-13071 Details
Description
An authenticated user with read access can cause the mongod process to be terminated through certain aggregation expressions that execute server-side JavaScript. The issue involves improper memory handling during document processing.
A denial-of-service vulnerability has been identified in MongoDB that affects the aggregation framework when server-side JavaScript is executed. An authenticated user with read access can craft an aggregation pipeline that exploits improper memory management, causing the MongoDB process to crash. This issue arises because the '$function' aggregation expression does not properly handle the serialization of arguments, allowing a JavaScript function to retain access to freed memory across invocations.
Users can upgrade to MongoDB versions 9.0.0-rc0, 8.2.12, 8.0.28, or 7.0.39 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://jira.mongodb.org/browse/SERVER-128473 | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mongodb mongodb | >= 7.0.0, < 7.0.39 >= 8.0.0, < 8.0.28 >= 8.2.0, < 8.2.12 >= 8.3.0, < 8.3.7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Aug 18, 2026 | Initial Analysis | [email protected] |
| Jul 23, 2026 | CVE Modified | CISA-ADP |
| Jul 22, 2026 | New CVE Received | [email protected] |