CVE Details
Basic Information
| Title | Pre-authentication Denial of Service Stack Overflow Vulnerability in JSON Parsing via Excessive Recursion in MongoDB |
|---|---|
| Type | cve |
| Published | 2025-06-26T14:09:29.581Z |
| Last Seen |
Product Information
| Vendor | MongoDB Inc |
|---|---|
| Product | MongoDB Server |
| Version | 6.0 |
CVSS Information
| Base Score | 7.5 (HIGH) |
|---|---|
| Attack Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Confidentiality Impact | |
| Integrity Impact | |
| Availability Impact |
AI Analysis
| AI Description | MongoDB Server is vulnerable to a stack overflow due to improper JSON parsing, which can cause the server to crash. This issue affects versions prior to 7.0.17, 8.0.5, and 6.0.21. The vulnerability can be exploited pre-authentication in some versions. |
|---|---|
| AI Severity | High |
| Vendor | MongoDB Inc |
| Product | MongoDB Server |
| Affected Version | 6.0.21, 7.0.17, 8.0.5 |
Affected Products
- MongoDB Inc MongoDB Server 6.0
- MongoDB Inc MongoDB Server 7.0
- MongoDB Inc MongoDB Server 8.0
Additional Information
| CVE List | |
|---|---|
| CWE List | CWE-674 |
| Bulletin Family |
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.