CVE-2025-6710: mongodb inc mongodb server Uncontrolled Recursion
Vulnerability summary
CVE-2025-6710 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in mongodb inc mongodb server. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.2% of scored vulnerabilities.
Timeline
- 26-06-2025PublishedVulnerability first disclosed.
- 26-06-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
30%
Versus all other CVEs
30-day change
+0.03 pp
From 0.35% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Mongodb1 product
- mongodb≥ 6.0.0, < 6.0.21 | ≥ 7.0.0, < 7.0.17 | ≥ 8.0.0, < 8.0.5
Mongodb inc1 product
- mongodb server≥ 6.0, < 6.0.21 | ≥ 7.0, < 7.0.17 | ≥ 8.0, < 8.0.5
Ubuntu1 product
- mongodbAll versions (No fix recorded)
3 vendors · 3 products