ExportXMLWordPrintableJSON

    • 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.

            Assignee:
            Sam Frank
            Reporter:
            Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: