CVE-2025-6710
JSON

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 packageVersionsReported by
MongoDB Inc MongoDB Serverfrom 6.0 before 6.0.21, from 7.0 before 7.0.17, from 8.0 before 8.0.5CVE List
mongodb mongodbfrom 6.0.0 before 6.0.21, from 7.0.0 before 7.0.17, from 8.0.0 before 8.0.5NVD
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.5Bitnami Vulnerability Database

All scores

mongodb7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-674

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

Sources

SourceRecordLicence
CVE ListCVE-2025-6710 changed 2025-06-26CVE Terms of Use
NVDCVE-2025-6710 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MONGODB-2025-6710 changed 2026-09-08Apache-2.0