SERVER-130496ClosedFixed

Fix integer overflow in FLE2 readTags accumulator

h1. Security Context See SECBUG-1461 for problem description, security impact, preconditions, reproduction steps, and severity rationale. A verified Docker-based PoC is included in that ticket. h1. Root Cause The bug is a type-width mismatch in src/mongo/crypto/fle_tags.cpp::readTags(). Three lines interact to produce the exploit: +*Line 148 — accumulator declared as uint32_t*+ FLEEdgeCountInfo::count (fle_crypto_types.h:92) is uint64_t. The accumulation loop silently truncates each

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue
Queryable Encryption
Labels
Tags and classification
bkp