Skip to content
OpenAdvisories
High · 8.8 CVE-2026-11933 EUVD-2026-36373GHSA-x5xf-rwjm-436w

Post-authentication use-after-free in server-side JavaScript BSON-to-array conversion

Published Jun 12, 2026 · Updated Jun 13, 2026 · Assigned by mongodb

Description

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.

Affected products

VendorProductAffectedFixed
MongoDB MongoDB 8.3.0 – ≤ 8.3.3, 8.2.0 – ≤ 8.2.10, 8.0.0 – ≤ 8.0.25, 7.0.0 – ≤ 7.0.36, 6.0 – ≤ 6.0.28, 5.0 – ≤ 5.0.33, 4.4.0 – ≤ 4.4.30 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —
Ubuntu Pro 16.04 LTS mongodb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS mongodb No fix yet —

Advisories 1

References