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.
History

Thu, 26 Jun 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 26 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
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.
Title Pre-authentication Denial of Service Stack Overflow Vulnerability in JSON Parsing via Excessive Recursion in MongoDB
First Time appeared Mongodb
Mongodb mongodb
Weaknesses CWE-674
CPEs cpe:2.3:a:mongodb:mongodb:6.0.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.10:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.11:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.12:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.13:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.14:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.15:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.16:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.17:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.18:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.19:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.20:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.5:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.6:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.7:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.8:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:6.0.9:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.10:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.11:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.12:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.13:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.14:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.15:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.16:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.5:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.6:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.7:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.8:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:7.0.9:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:8.0.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:8.0.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:8.0.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:8.0.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:8.0.4:*:*:*:*:*:*:*
Vendors & Products Mongodb
Mongodb mongodb
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published: 2025-06-26T14:09:29.581Z

Updated: 2025-06-26T17:35:01.659Z

Reserved: 2025-06-26T11:38:14.955Z

Link: CVE-2025-6710

cve-icon Vulnrichment

Updated: 2025-06-26T17:34:13.748Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-06-26T14:15:35.613

Modified: 2025-06-26T18:57:43.670

Link: CVE-2025-6710

cve-icon Redhat

No data.