CVE-2025-6706
Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server
- State
- Published
- Severity
- 5.0 Medium
- Published
- Jun 26, 2025
- Updated
- Jun 26, 2025
- Reserved
- Jun 26, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.0 Medium | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L | mongodb |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
MongoDB ServerMongoDB Inc |
|
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.