I tested a rust-openssl security fix and found a missed path to attacker-controlled heap corruption - CVE-2026-45784

While validating the fix for CVE-2026-44662, I found that the same vulnerable output-sizing assumption remained reachable through another safe rust-openssl API: CipherCtxRef::cipher\_update\_inplace When AES Key Wrap with Padding processes an input whose length is not divisible by eight, the wrapper can allocate a buffer smaller than the output OpenSSL actually produces. The vulnerable calculation assumed: input length + block size The required size can be: round\_up(input length, 8) + 8 With a 9-byte input, a 17-byte buffer passed validation, but OpenSSL could write 24 bytes. The result is an attacker-controlled out-of-bounds heap write of up to 7 bytes through a safe Rust interface. I also
…