- Hardened
Serialization::Loadagainst hostile input by bounding deserializedKSwitchKeys/GaloisKeys/RelinKeysdimensions and rejecting aSEALHeaderwhose size exceeds the available input, including on non-seekable streams. - Hardened loading of zlib/zstd-compressed objects against decompression bombs by inflating on demand.
- Fixed the Windows
RtlGenRandomfallback to fill the entire requested buffer and to cast its length safely toULONG. - Noted in
SECURITY.mdthatDecryptor::invariant_noise_budgetcan leak the secret key on attacker-chosen ciphertexts. - Documented in
Evaluator(C++ and .NET) the NTT-domainmultiply_plainaccumulation pattern for repeated plaintext-ciphertext products (issue #744).