VDB
Sign up
HIGH7.1

RUSTSEC-2026-0477

Buffer overflow with AES key wrap with padding in `cipher_update_inplace`

Details

`CipherCtxRef::cipher_update_inplace` had the same sizing error that 0.10.79 fixed in `cipher_update` (GHSA-xv59-967r-8726); that fix missed this method. It required room for `inlen + block_size` bytes, but with the AES key-wrap-with-padding ciphers OpenSSL writes up to 7 more bytes when `inlen` is not a multiple of 8, past the end of `data`.

Only users of the AES key-wrap-with-padding ciphers are affected. `cipher_update_inplace` was added in 0.10.50, and 0.10.80 applies the corrected size check to it.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/openssl
Introduced in: 0.10.50Fixed in: 0.10.80

Upgrade openssl to 0.10.80 or newer (ecosystem crates.io).

References