CVE-2025-6706CWE-416

Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server

Medium · published June 26, 2025

CVSS v3.1
5.0
EPSS
0%
Percentile
16.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.0 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00260 · 16.7th percentile
Weakness
CWE-416 · Use After Free
Published
2025-06-26T14:00Z
EPSS history
Timeline
  • 26 JUN 14:00Z
    Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server
    cvelistv5