CVE-2026-4358

Severity CVSS v4.0:
MEDIUM
Type:
CWE-415 Double Free
Publication date:
17/03/2026
Last modified:
02/04/2026

Description

A specially crafted aggregation query with $lookup by an authenticated user with write privileges can cause a double-free or use-after-free memory issue in the slot-based execution (SBE) engine when an in-memory hash table is spilled to disk.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:* 7.0.0 (including) 7.0.31 (excluding)
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:* 8.0.0 (including) 8.0.20 (excluding)
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:* 8.2.0 (including) 8.2.6 (excluding)


References to Advisories, Solutions, and Tools