Home

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.

PUBLISHED Reserved 2026-03-17 | Published 2026-03-17 | Updated 2026-03-17 | Assigner mongodb




MEDIUM: 6.1CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

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

Problem types

CWE-415 Double free

Product status

Default status
unaffected

8.2 (custom) before 8.2.6
affected

8.0 (custom) before 8.0.20
affected

7.0 (custom) before 7.0.31
affected

References

jira.mongodb.org/browse/SERVER-118849

cve.org (CVE-2026-4358)

nvd.nist.gov (CVE-2026-4358)

Download JSON