8.8

CVE-2025-6706: mongodb inc mongodb server Use After Free

CVSS: 8.8v3.1HighAnalyzed
AliasesUBUNTU-CVE-2025-6706
Published 26-06-2025Last modified 26-06-2025

Vulnerability summary

CVE-2025-6706 is a high (CVSS 8.8) Use After Free vulnerability in mongodb inc mongodb server. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.5% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.26%
0%100%
Low · +0.02 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

An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have authorization to shut down a server. The crash is triggered on affected versions by issuing an aggregation framework operation using a specific combination of rarely-used aggregation pipeline expressions. This issue affects MongoDB Server v6.0 version prior to 6.0.21, MongoDB Server v7.0 version prior to 7.0.17 and MongoDB Server v8.0 version prior to 8.0.4 when the SBE engine is enabled.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

+0.02 pp

From 0.24% on 19-09-2026

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

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.4
Mongodb inc1 product
  • mongodb server≥ 6.0, < 6.0.21 | ≥ 7.0, < 7.0.17 | ≥ 8.0, < 8.0.4
Ubuntu1 product
  • mongodbAll versions (No fix recorded)

3 vendors · 3 products

References

3 links