Vulnerability in MongoDB
CVE-2025-6710
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.
EPSS: 0.003 (23.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Mongodb
- Mongodb Inc Server — versions 6.0, 7.0, 8.0
Weakness classification (CWE)
References
- cna@mongodb.com (Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-6710?
- CVE-2025-6710 is a high-severity vulnerability in MongoDB, classified under Uncontrolled Recursion. CVSS score: 7.5/10. Published 2025-06-26.
- How severe is CVE-2025-6710?
- High severity. CVSS v3 base score is 7.5 out of 10.