CVE-2026-4358

Memory safety issues in slot-based execution hash table spill

State
Published
Severity
6.1 Medium
Published
Mar 17, 2026
Updated
Mar 17, 2026
Reserved
Mar 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.1 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:Nmongodb
3.16.4 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:Hmongodb

Weaknesses

Affected Products

ProductVersions
MongoDB ServerMongoDB Inc
  • 8.2 to before 8.2.6Affected
  • 8.0 to before 8.0.20Affected
  • 7.0 to before 7.0.31Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.