CVE-2025-6706
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-26

Last updated on: 2025-09-15

Assigner: MongoDB, Inc.

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-26
Last Modified
2025-09-15
Generated
2026-05-07
AI Q&A
2025-06-26
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
mongodb mongodb From 8.1.0 (inc) to 8.1.2 (inc)
mongodb mongodb From 8.1.0 (inc) to 8.1.2 (inc)
mongodb mongodb From 8.1.0 (inc) to 8.1.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, upgrade MongoDB Server to version 6.0.21 or later, 7.0.17 or later, or 8.0.4 or later, depending on your version. Additionally, consider disabling the SBE engine if feasible until the upgrade is applied.


Can you explain this vulnerability to me?

This vulnerability is a use after free issue in MongoDB Server that can be triggered by an authenticated user through a specific combination of rarely-used aggregation pipeline expressions. It can cause the MongoDB Server to crash or behave unexpectedly, even if the user does not have permission to shut down the server.


How can this vulnerability impact me? :

The vulnerability can lead to a crash of the MongoDB Server or other unexpected behaviors, potentially causing denial of service or instability in applications relying on the database.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart