CVE-2026-4358

Memory safety issues in slot-based execution hash table spill

MEDIUM 6.1

At a glance

Source
NVD
EPSS
EPSS 0.36 % · percentile 29 ()
State
PUBLISHED
Published
Updated
Assigner
mongodb
NVD status
Analyzed

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 4.0MEDIUM 6.1CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:Nmongodb
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:Hmongodb
CVSS 4.0MEDIUM 6.1CVSS: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:XNVD · cna@mongodb.com (Secondary)
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:HNVD · cna@mongodb.com (Secondary)
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
MongoDB Inc · MongoDB Serveraffected 8.2 < 8.2.6 ; affected 8.0 < 8.0.20 ; affected 7.0 < 7.0.31

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD