{"id":"GHSA-phqj-4mhp-q6mq","summary":"rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for AES-KW-PAD ciphers","details":"`CipherCtxRef::cipher_update_inplace` incorrectly sized output buffers when used with AES key-wrap-with-padding ciphers (EVP_aes_{128,192,256}_wrap_pad). For a non-multiple-of-8 input, OpenSSL writes up to 7 bytes past the end of the caller's buffer or Vec, producing attacker-controllable heap corruption when the plaintext length is attacker-influenced.\n\nThis only impacts users using AES key-wrap-with-padding ciphers.\n\nThis method was missed in the fix for GHSA-xv59-967r-8726","aliases":["CVE-2026-45784"],"modified":"2026-07-17T21:11:38.832712279Z","published":"2026-05-19T19:50:11Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-05-19T19:50:11Z","nvd_published_at":null,"cwe_ids":["CWE-131","CWE-787"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-phqj-4mhp-q6mq"},{"type":"PACKAGE","url":"https://github.com/rust-openssl/rust-openssl"}],"affected":[{"package":{"name":"openssl","ecosystem":"crates.io","purl":"pkg:cargo/openssl"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.10.50"},{"fixed":"0.10.80"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-phqj-4mhp-q6mq/GHSA-phqj-4mhp-q6mq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}]}