CVE-2025-6706
BaseFortify
Publication date: 2025-06-26
Last updated on: 2025-09-15
Assigner: MongoDB, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| 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 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.