Uncontrolled Resource Consumption in MongoDB Server Per-Namespace Encrypted-Field Statistics Table Leads to Denial of Service
- CVE-2026-120820
- GHSA-h94g-442h-qv6f
- EUVD-2026-122835
Description
MongoDB Server maintains an in-memory table of per-namespace statistics for operations that carry encrypted-field information. Entries are created for any namespace supplied in a request, with no limit on the number of entries and no way to remove entries that never corresponded to a real collection. A user with basic read privileges who repeatedly issues ordinary read commands referencing arbitrary namespace names may cause the server process to retain steadily increasing amounts of memory and to slow down on the affected code path; the memory is reclaimed only by restarting the process.
Text from the CVE.org record.
Recommendation
MongoDB MongoDB Server
- If you run 9.0.xupdate to 9.0.7 or laterPatch update: breaking changes are unlikely
- If you run 8.3.xupdate to 8.3.16 or laterPatch update: breaking changes are unlikely
- If you run 8.0.xupdate to 8.0.37 or laterPatch update: breaking changes are unlikely
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
MongoDB MongoDB Server
Affected versions Fixed in from 9.0.0 to before 9.0.7 9.0.7 from 8.3.0 to before 8.3.16 8.3.16 from 8.0.0 to before 8.0.37 8.0.37
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.