CVE-2025-6706
published medium CVSS 3.1 · 5.0Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | MongoDB Server6.0 to < 6.0.21 · 7.0 to < 7.0.17 · 8.0 to < 8.0.4 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | MongoDB Server | 6.0 to < 6.0.21 (affected · custom)7.0 to < 7.0.17 (affected · custom)8.0 to < 8.0.4 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
1Provider assertions
2mongodb · cna
Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ff7382eaed2a4eb3b70720d267a725d8134894d76c47b2ad339b9a4dbb2bb28d
- Ingested
- 23 Sep 2026, 08:57:58 UTC
- Source record
- Official CVE record