CVE-2025-6706 Details
Description
An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have authorization to shut down a server. The crash is triggered on affected versions by issuing an aggregation framework operation using a specific combination of rarely-used aggregation pipeline expressions. This issue affects MongoDB Server v6.0 version prior to 6.0.21, MongoDB Server v7.0 version prior to 7.0.17 and MongoDB Server v8.0 version prior to 8.0.4 when the SBE engine is enabled.
A use-after-free vulnerability has been identified in MongoDB Server that can be triggered by an authenticated user. This vulnerability may cause the server to crash and lead to other unexpected behaviors, even if the user lacks the authorization to shut down the server. The issue arises when certain aggregation framework operations are performed using a specific combination of rarely-used pipeline expressions. Affected versions include MongoDB Server v6.0 prior to 6.0.21, v7.0 prior to 7.0.17, and v8.0 prior to 8.0.4, but only when the SBE engine is enabled.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2025References 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-106746 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mongodb mongodb | >= 6.0.0, < 6.0.21 >= 7.0.0, < 7.0.17 >= 8.0.0, < 8.0.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2025 | Initial Analysis | [email protected] |
| Jun 26, 2025 | New CVE Received | [email protected] |