MongoDB JavaScript Engine UAF via BSON-to-Array
CVE-2026-11933 Published on June 12, 2026
Post-authentication use-after-free in server-side JavaScript BSON-to-array conversion
A use-after-free vulnerability exists in MongoDB Server's server-side JavaScript engine when converting BSON documents to JavaScript arrays. An authenticated user with read privileges who is able to run server-side JavaScript (for example, via $where or $function) can cause the server to access memory that has already been freed. This may result in disclosure of information from the mongod process memory or a denial of service through a server crash.
Vulnerability Analysis
CVE-2026-11933 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Memory Corruption Vulnerability?
The software writes data past the end, or before the beginning, of the intended buffer. Typically, this can result in corruption of data, a crash, or code execution. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent write operation then produces undefined or unexpected results.
CVE-2026-11933 has been classified to as a Memory Corruption vulnerability or weakness.
Products Associated with CVE-2026-11933
Want to know whenever a new CVE is published for MongoDB? stack.watch will email you.
Affected Versions
MongoDB:- Version 8.3.0, <= 8.3.3 is affected.
- Version 8.2.0, <= 8.2.10 is affected.
- Version 8.0.0, <= 8.0.25 is affected.
- Version 7.0.0, <= 7.0.36 is affected.
- Version 6.0, <= 6.0.28 is affected.
- Version 5.0, <= 5.0.33 is affected.
- Version 4.4.0, <= 4.4.30 is affected.