Pre-authentication Denial of Service Stack Overflow Vulnerability in JSON Parsing via Excessive Recursion in MongoDB (MongoDB Inc MongoDB Server)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.38 % · percentile 32 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mongodb
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-674 — Uncontrolled Recursion
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | mongodb |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · cna@mongodb.com (Secondary) |
European references
- ENISA EUVD · EUVD-2025-19230
- GCVE · GCVE-0-2025-6710
CERT-FR advisories
- CERTFR-2025-AVI-0548 — Multiples vulnérabilités dans MongoDB Server · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*≥ 6.0.0 < 6.0.21cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*≥ 7.0.0 < 7.0.17cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*≥ 8.0.0 < 8.0.5
Affected products
| Product | Versions |
|---|---|
| MongoDB Inc · MongoDB Server | affected 6.0 < 6.0.21 ; affected 7.0 < 7.0.17 ; affected 8.0 < 8.0.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |