Skip to content

CVE-2026-4358 Memory safety issues in slot-based execution hash table spill

MediumCVSS 6.1 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 7.0, < 7.0.31; >= 8.0, < 8.0.20; >= 8.2, < 8.2.6 7.0.31, 8.0.20, 8.2.6 Fixed
mongodb/mongodb >= 7.0.0, < 7.0.31; >= 8.0.0, < 8.0.20; >= 8.2.0, < 8.2.6 7.0.31, 8.0.20, 8.2.6 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 8.2, < 8.2.6 8.2.6
MongoDB Server >= 8.0, < 8.0.20 8.0.20
MongoDB Server >= 7.0, < 7.0.31 7.0.31
mongodb/mongodb >= 7.0.0, < 7.0.31 7.0.31
mongodb/mongodb >= 8.0.0, < 8.0.20 8.0.20
mongodb/mongodb >= 8.2.0, < 8.2.6 8.2.6

References