We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-6710

Pre-authentication Denial of Service Stack Overflow Vulnerability in JSON Parsing via Excessive Recursion in 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.

Reserved 2025-06-26 | Published 2025-06-26 | Updated 2025-06-26 | Assigner mongodb


HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem types

CWE-674: Uncontrolled Recursion

Product status

Default status
unaffected

6.0 before 6.0.21
affected

7.0 before 7.0.17
affected

8.0 before 8.0.5
affected

References

jira.mongodb.org/browse/SERVER-106749

cve.org (CVE-2025-6710)

nvd.nist.gov (CVE-2025-6710)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-6710

Support options

Helpdesk Chat, Email, Knowledgebase