Security mailing lists by PureSourceCode

CVE-2026-4358

MEDIUM 6.1CVSS 4.0

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
17 Mar 2026
Last modified
17 Jun 2026
Assigned by
cna@mongodb.com
NVD status
Analyzed
Weakness
CWE-415
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@mongodb.com (Secondary) CVSS 4.0 MEDIUM 6.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD cna@mongodb.com (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb mongodb
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
>= 7.0.0, < 7.0.31 7.0.31
NVD mongodb mongodb
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
>= 8.0.0, < 8.0.20 8.0.20
NVD mongodb mongodb
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
>= 8.2.0, < 8.2.6 8.2.6

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 17 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.