NetSight
medium5.3

CVE-2026-120820

MongoDB Server maintains an in-memory table of per-namespace statistics for operations that carry encrypted-field information.

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of outages.

Affected products

VendorProductAffected versions
MongoDBMongoDB Server
from 9.0.0 before 9.0.7
from 8.3.0 before 8.3.16
from 8.0.0 before 8.0.37
MongoDB, Inc.MongoDB Server
from 8.3.0 before 8.3.16
from 8.0.0 before 8.0.37
from 9.0.0 before 9.0.7

Weakness classification

References