8.8

CVE-2025-6706: Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server

Analyzed
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.28% chance of exploitation in the next 30 days, higher than 21.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.28%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.28%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.27% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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