Buffer overflow with AES key wrap with padding in `cipher_update_inplace`
Historical advisory saved 10 Nov 2026 14:21:29 UTC. The publisher may have updated it since then. Latest advisory.
osv · RUSTSEC-2026-0477
Published`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.
- Source published
- 16 May 2026 12:00:00 UTC
- Source modified
- 10 Nov 2026 14:00:02 UTC
- Saved here
- 10 Nov 2026 14:21:29 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.