{"id":"RUSTSEC-2026-0476","revision":"69d22cbd80ae445198e6cb932b41d1fe","records":[{"revision":"69d22cbd80ae445198e6cb932b41d1fe","observedAt":"2026-11-10T14:21:29.97+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0476","aliases":["CVE-2026-44662","GHSA-xv59-967r-8726"],"title":"Buffer overflow with AES key wrap with padding in `cipher_update`","description":"`CipherCtxRef::cipher_update`, `CipherCtxRef::cipher_update_vec` and `symm::Crypter::update` require (or allocate) `input.len() + block_size` bytes of output. With the AES key-wrap-with-padding ciphers (`EVP_aes_128_wrap_pad`, `EVP_aes_192_wrap_pad`, `EVP_aes_256_wrap_pad`), OpenSSL pads the input to a multiple of 8 bytes and adds an 8-byte block, so when the input length is not a multiple of 8 it writes up to 7 bytes past the end of the caller's buffer or `Vec`. If an attacker can influence the plaintext length, this is heap corruption they can partly control.\n\nOnly users of the AES key-wrap-with-padding ciphers are affected. 0.10.79 sizes the output for these ciphers as the input length rounded up to a multiple of 8, plus 8.","state":0,"publishedAt":"2026-05-04T12:00:00+00:00","modifiedAt":"2026-11-10T14:00:02.4840472+00:00","affected":[{"ecosystem":"crates.io","name":"openssl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.10.0"},{"kind":"fixed","version":"0.10.79"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/openssl","https://rustsec.org/advisories/RUSTSEC-2026-0476.html","https://github.com/rust-openssl/rust-openssl/pull/2630"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0476","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0476","identifiers":["RUSTSEC-2026-0476","CVE-2026-44662","GHSA-xv59-967r-8726"]},"retained":false,"historicalAffected":[]}],"coverage":[]}