CVE-2026-13056: Using expressions that generate large arrays it is possible to craft a query that creates very large intermediate objects in memory, causing the server to crash with OOM error.
Medium CVSS 6.5
- CVE id
- CVE-2026-13056
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| MongoDB Runtimes and servers |
>= 8.0.0, < 8.0.28 >= 8.3.0, < 8.3.7 |
8.0.28, 8.3.7 |
How to fix it
Upgrade MongoDB to the fixed release of the line you run: 8.0.28, 8.3.7.
mongod --version
- Install the patched MongoDB release of your series (the mongo image tag or the mongodb-org packages); on Atlas, MongoDB patches the servers.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Using expressions that generate large arrays it is possible to craft a query that creates very large intermediate objects in memory, causing the server to crash with OOM error.
References
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.