CVE-2025-6710 Details
Description
MongoDB Server may be susceptible to stack overflow due to JSON parsing mechanism, where specifically crafted JSON inputs may induce unwarranted levels of recursion, resulting in excessive stack space consumption. Such inputs can lead to a stack overflow that causes the server to crash which could occur pre-authorisation. This issue affects MongoDB Server v7.0 versions prior to 7.0.17 and MongoDB Server v8.0 versions prior to 8.0.5. The same issue affects MongoDB Server v6.0 versions prior to 6.0.21, but an attacker can only induce denial of service after authenticating.
A stack overflow vulnerability has been identified in MongoDB Server's JSON parsing mechanism. This issue allows specifically crafted JSON inputs to create excessive recursion, consuming large amounts of stack space and causing the server to crash. The vulnerability can be exploited pre-authentication. It affects MongoDB Server versions 7.0 prior to 7.0.17, 8.0 prior to 8.0.5, and 6.0 prior to 6.0.21, with the latter requiring authentication for exploitation.
Users can upgrade to MongoDB Server versions 8.0.5, 7.0.17, or 6.0.21 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://jira.mongodb.org/browse/SERVER-106749 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mongodb mongodb | >= 6.0.0, < 6.0.21 >= 7.0.0, < 7.0.17 >= 8.0.0, < 8.0.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2025 | Initial Analysis | [email protected] |
| Jun 26, 2025 | New CVE Received | [email protected] |