# CVE-2025-6710: Pre-authentication Denial of Service Stack Overflow Vulnerability in JSON Parsing via Excessive Recursion in MongoDB

- Severity: High 7.5 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-06-26T14:09:29.581Z
- Modified: 2026-09-08T08:48:14.345Z
- Also known as: BIT-MONGODB-2025-6710
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mongodb

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

(As written by CVE List.)

## Affected

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

## Every score

- mongodb: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://jira.mongodb.org/browse/SERVER-106749> (advisory, issue-tracking, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6710> (web)

## Sources

- CVE List: [CVE-2025-6710](https://www.cve.org/CVERecord?id=CVE-2025-6710), CVE Terms of Use, modified 2025-06-26
- NVD: [CVE-2025-6710](https://nvd.nist.gov/vuln/detail/CVE-2025-6710), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MONGODB-2025-6710](https://osv.dev/vulnerability/BIT-MONGODB-2025-6710), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-6710 · Whole record: https://cve.day/CVE-2025-6710.json · Rebuilt by cve.day 2026-11-25T22:58:59.651Z
