7.5

CVE-2025-6710: mongodb inc mongodb server Uncontrolled Recursion

CVSS: 7.5v3.1HighAnalyzed
AliasesUBUNTU-CVE-2025-6710
Published 26-06-2025Last modified 26-06-2025

Vulnerability summary

CVE-2025-6710 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in mongodb inc mongodb server. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.2% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.38%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 26-06-2025
    PublishedVulnerability first disclosed.
  2. 26-06-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.38%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

+0.03 pp

From 0.35% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.38%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Mongodb1 product
  • mongodb≥ 6.0.0, < 6.0.21 | ≥ 7.0.0, < 7.0.17 | ≥ 8.0.0, < 8.0.5
Mongodb inc1 product
  • mongodb server≥ 6.0, < 6.0.21 | ≥ 7.0, < 7.0.17 | ≥ 8.0, < 8.0.5
Ubuntu1 product
  • mongodbAll versions (No fix recorded)

3 vendors · 3 products

References

3 links