CVE-2026-4358 PUBLISHED

Memory safety issues in slot-based execution hash table spill

Assigner: mongodb
Reserved: 17.03.2026 Published: 17.03.2026 Updated: 17.03.2026

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.

Metrics

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

Product Status

Vendor MongoDB Inc
Product MongoDB Server
Versions Default: unaffected
  • affected from 8.2 to 8.2.6 (excl.)
  • affected from 8.0 to 8.0.20 (excl.)
  • affected from 7.0 to 7.0.31 (excl.)

References

Problem Types

  • CWE-415 Double free CWE