-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Queryable Encryption
-
Server Security
-
Fully Compatible
-
ALL
-
v9.0, v8.3, v8.0, v7.0
-
Server Security 2026-07-17, Server Security 2026-07-31, Server Security 2026-08-14, Server Security 2026-08-28, Server Security 2026-09-11, Server Security 2026-10-23, Server Security 2026-11-06, Server Security 2026-11-20
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In binarySearchCommon() at src/mongo/crypto/fle_crypto.cpp, the variable rho (uint64_t) is doubled via rho = 2 * rho inside a galloping loop with no overflow guard. If this continuous doubling eventually becomes 0, the ceil(log2(rho)) would return -inf and converting that to uint64_t is undefined behavior.