{"id":"CVE-2026-4358","aliases":["CVE-2026-4358","BIT-MONGODB-2026-4358"],"related":[],"kind":"vulnerability","state":"published","title":"Memory safety issues in slot-based execution hash table spill","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una consulta de agregación especialmente diseñada con $lookup por un usuario autenticado con privilegios de escritura puede causar un problema de memoria de doble liberación o uso después de liberación en el motor de ejecución basado en ranuras (SBE) cuando una tabla hash en memoria se vuelca a disco.","source":"nvd"}],"published":"2026-03-17T19:00:07.518Z","modified":"2026-09-10T16:01:43.357Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":6.1,"rating":"MEDIUM"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"custom","introduced":"8.2","fixed":"8.2.6","status":"affected"},{"type":"custom","introduced":"8.0","fixed":"8.0.20","status":"affected"},{"type":"custom","introduced":"7.0","fixed":"7.0.31","status":"affected"}],"vendor":"MongoDB Inc","product":"MongoDB Server","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"7.0.0","fixed":"7.0.31"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.20"},{"status":"affected","introduced":"8.2.0","fixed":"8.2.6"}],"vendor":"mongodb","product":"mongodb","cpe":"cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.31"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.20"},{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.6"}],"ecosystem":"Bitnami","package":"mongodb","purl":"pkg:bitnami/mongodb","source":"bitnami"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-118849","tags":["advisory","exploit","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4358","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-17T20:03:27.629Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-4358","url":"https://www.cve.org/CVERecord?id=CVE-2026-4358","licence":"CVE Terms of Use","modified":"2026-03-17T20:08:24.920Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-4358","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4358","licence":"Public domain","modified":"2026-06-17T10:56:28.330Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MONGODB-2026-4358","url":"https://osv.dev/vulnerability/BIT-MONGODB-2026-4358","licence":"Apache-2.0","modified":"2026-09-10T16:01:43.357Z"}],"updatedAt":"2026-11-25T22:59:16.057Z","epss":{"score":0.00385,"percentile":0.34634,"date":"2026-12-02T12:00:21.000Z"}}