7.5high
Pre-authentication Denial of Service Stack Overflow Vulnerability in JSON Parsing via Excessive Recursion in MongoDB
- Severity
- 7.5high CVSS:3.1 by mongodb
- Exploit likelihood
- 0.71% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- BIT-MONGODB-2025-6710
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc MongoDB Server | from 6.0 before 6.0.21, from 7.0 before 7.0.17, from 8.0 before 8.0.5 | CVE List |
| mongodb mongodb | from 6.0.0 before 6.0.21, from 7.0.0 before 7.0.17, from 8.0.0 before 8.0.5 | NVD |
| mongodb (Bitnami) | from 6.0.0 before 6.0.21, from 7.0.0 before 7.0.17, from 8.0.0 before 8.0.5 | Bitnami Vulnerability Database |
All scores
| mongodb | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
MongoDB Server puede ser susceptible a desbordamientos de pila debido al mecanismo de análisis de JSON. Las entradas JSON manipuladas específicamente pueden inducir niveles injustificados de recursión, lo que resulta en un consumo excesivo de espacio de pila. Estas entradas pueden provocar un desbordamiento de pila que provoque un bloqueo del servidor, lo cual podría ocurrir antes de la autorización. Este problema afecta a MongoDB Server v7.0 anteriores a la 7.0.17 y a MongoDB Server v8.0 anteriores a la 8.0.5. El mismo problema afecta a MongoDB Server v6.0 anteriores a la 6.0.21, pero un atacante solo puede inducir una denegación de servicio después de la autenticación.
References
| https://jira.mongodb.org/browse/SERVER-106749 | advisory, issue-tracking, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-6710 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6710 changed 2025-06-26 | CVE Terms of Use |
| NVD | CVE-2025-6710 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2025-6710 changed 2026-09-08 | Apache-2.0 |