CVE-2025-6706
MEDIUMMongoDB 6.0.0-6.0.20 - Authenticated Use-After-Free via Aggregation Pipeline Expressions
Title source: llmDescription
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.
References (1)
Core 1
Core References
Issue Tracking, Vendor Advisory
https://jira.mongodb.org/browse/SERVER-106746
Scores
CVSS v3
5.0
EPSS
0.0021
EPSS Percentile
11.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-416
Status
published
Products (1)
mongodb/mongodb
6.0.0 - 6.0.21
Published
Jun 26, 2025
Tracked Since
Feb 18, 2026