Skip to content
OpenAdvisories
Medium · 6.4 CVE-2026-4358 EUVD-2026-12639GHSA-64ph-qr47-qxh4

Memory safety issues in slot-based execution hash table spill

Published Mar 17, 2026 · Updated Mar 17, 2026 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Server 8.2 – < 8.2.6, 8.0 – < 8.0.20, 7.0 – < 7.0.31 8.2.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —
Ubuntu Pro 16.04 LTS mongodb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS mongodb No fix yet —

Advisories 1

References