CVE-2025-6706 - CVE House
Back to Database
Status published Medium CVE-2025-6706

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

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-6706

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

MongoDB Inc

View all reports →

Affected Software

MongoDB Server
Vulnerable Versions:
6.0, 7.0, 8.0

Timeline

Official Publish: June 26th, 2025
Last Modified: June 26th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Weaknesses (CWE)