// For flags

CVE-2025-6710

Pre-authentication Denial of Service Stack Overflow Vulnerability in JSON Parsing via Excessive Recursion in MongoDB

Severity Score

7.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Attend
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:Attend
Exploitation
None
Automatable
Yes
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2025-06-26 CVE Reserved
  • 2025-06-26 CVE Published
  • 2025-06-26 CVE Updated
  • 2025-07-28 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-674: Uncontrolled Recursion
CAPEC
References (1)
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
MongoDB Inc
Search vendor "MongoDB Inc"
MongoDB Server
Search vendor "MongoDB Inc" for product "MongoDB Server"
>= 6.0.0 < 6.0.21
Search vendor "MongoDB Inc" for product "MongoDB Server" and version " >= 6.0.0 < 6.0.21"
en
Affected
MongoDB Inc
Search vendor "MongoDB Inc"
MongoDB Server
Search vendor "MongoDB Inc" for product "MongoDB Server"
>= 7.0.0 < 7.0.17
Search vendor "MongoDB Inc" for product "MongoDB Server" and version " >= 7.0.0 < 7.0.17"
en
Affected
MongoDB Inc
Search vendor "MongoDB Inc"
MongoDB Server
Search vendor "MongoDB Inc" for product "MongoDB Server"
>= 8.0.0 < 8.0.5
Search vendor "MongoDB Inc" for product "MongoDB Server" and version " >= 8.0.0 < 8.0.5"
en
Affected