CVE-2025-6706
Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
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.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2025-06-26 CVE Reserved
- 2025-06-26 CVE Published
- 2025-06-26 CVE Updated
- 2025-06-27 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-416: Use After Free
CAPEC
References (1)
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
MongoDB Inc Search vendor "MongoDB Inc" | MongoDB Server Search vendor "MongoDB Inc" for product "MongoDB Server" | >= 6.0.0 < 6.0.21 Search vendor "MongoDB Inc" for product "MongoDB Server" and version " >= 6.0.0 < 6.0.21" | en |
Affected
| ||||||
MongoDB Inc Search vendor "MongoDB Inc" | MongoDB Server Search vendor "MongoDB Inc" for product "MongoDB Server" | >= 7.0.0 < 7.0.17 Search vendor "MongoDB Inc" for product "MongoDB Server" and version " >= 7.0.0 < 7.0.17" | en |
Affected
| ||||||
MongoDB Inc Search vendor "MongoDB Inc" | MongoDB Server Search vendor "MongoDB Inc" for product "MongoDB Server" | >= 8.0.0 < 8.0.4 Search vendor "MongoDB Inc" for product "MongoDB Server" and version " >= 8.0.0 < 8.0.4" | en |
Affected
|