CVE-2026-8336CWE-416

Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands

High · published May 13, 2026

CVSS v4.0
7.7
EPSS
0%
Percentile
40.0
In the wild
Unconfirmed
What it is

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.

This issue impacts MongoDB Server v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.

The record
Technical detail
CVSS v4.0
7.7 · HIGH
Vector
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/AU:N/R:A/V:D/RE:M/U:Red
EPSS
0.00474 · 40.0th percentile
Weakness
CWE-416 · Use After Free
Published
2026-05-13T00:16Z
EPSS history
Timeline
  • 13 MAY 00:16Z
    Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands
    cvelistv5