MongoDB Fixes Memory Leak in Internal Query Operator via New Configuration Limit
MongoDB has resolved a critical bug (SERVER-132430) where the internal operator $_internalKeyStringValue lacked memory limits, potentially allowing excessive resource consumption. The fix, available in versions 8.3.16, 9.0.7, 8.0.37, and 7.0.48, introduces a new parameter, internalQueryKeyStringValueMaxCollationBytes, to cap memory usage at startup and runtime. Although the operator remains publicly accessible despite its internal prefix, the patch mitigates denial-of-service risks by enforcing strict size validation. The issue was assigned to Kyle Burgess and resolved on November 10, 2026, with full backward compatibility confirmed across all affected versions.