{"id":"RUSTSEC-2026-0477","revision":"6e0c5ac4372241fb83a84b3bbf18cec6","records":[{"revision":"6e0c5ac4372241fb83a84b3bbf18cec6","observedAt":"2026-11-10T14:21:29.97+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0477","aliases":["CVE-2026-45784","GHSA-phqj-4mhp-q6mq"],"title":"Buffer overflow with AES key wrap with padding in `cipher_update_inplace`","description":"`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`.\n\nOnly 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.","state":0,"publishedAt":"2026-05-16T12:00:00+00:00","modifiedAt":"2026-11-10T14:00:02.4777029+00:00","affected":[{"ecosystem":"crates.io","name":"openssl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.10.50"},{"kind":"fixed","version":"0.10.80"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/openssl","https://rustsec.org/advisories/RUSTSEC-2026-0477.html","https://github.com/rust-openssl/rust-openssl/pull/2638"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0477","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0477","identifiers":["RUSTSEC-2026-0477","CVE-2026-45784","GHSA-phqj-4mhp-q6mq"]},"retained":false,"historicalAffected":[]}],"coverage":[]}