{"id":"BIT-mongodb-2026-8336","summary":"Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands","details":"After invoking $_internalJsEmit, which is not intended to be directly accessible, or mapreduce command’s map function in a certain way, an authenticated user can subsequently crash mongod when the server-side JavaScript engine (through $where, $function, mapreduce reduce stage, etc.) is used also in a specific way, resulting in a post-authentication denial-of-service.\n\nThis issue impacts MongoDB Server v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.","aliases":["CVE-2026-8336"],"modified":"2026-05-19T09:30:18.551533612Z","published":"2026-05-19T08:53:52.401Z","database_specific":{"cpes":["cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*"],"severity":"High"},"references":[{"type":"WEB","url":"https://jira.mongodb.org/browse/SERVER-121610"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8336"}],"affected":[{"package":{"name":"mongodb","ecosystem":"Bitnami","purl":"pkg:bitnami/mongodb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.2.0"},{"fixed":"8.2.9"},{"introduced":"8.3.0"},{"fixed":"8.3.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/mongodb/BIT-mongodb-2026-8336.json"},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/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:N/R:A/V:D/RE:M/U:Red"}]}],"schema_version":"1.7.5"}