Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Mongodb | >= 6.0.0, < 6.0.21 |
Related Weaknesses (CWE)
References
- https://jira.mongodb.org/browse/SERVER-106746Issue TrackingVendor Advisory
FAQ
What is CVE-2025-6706?
CVE-2025-6706 is a vulnerability with a CVSS score of 5.0 (MEDIUM). 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 ...
How severe is CVE-2025-6706?
CVE-2025-6706 has been rated MEDIUM with a CVSS base score of 5.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-6706?
Check the references section above for vendor advisories and patch information. Affected products include: Mongodb Mongodb.