{"id":"GHSA-phqj-4mhp-q6mq","aliases":["CVE-2026-45784","RUSTSEC-2026-0477"],"title":"rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for AES-KW-PAD ciphers","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"`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","severity":"medium","score":5.1,"published":"2026-05-16T12:00:00.000Z","modified":"2026-11-10T14:10:52.035Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"openssl","sources":[{"name":"OSV · GHSA-phqj-4mhp-q6mq","url":"https://osv.dev/vulnerability/GHSA-phqj-4mhp-q6mq"}],"ranges":[{"events":[{"introduced":"0.10.50"},{"fixed":"0.10.80"}],"type":"SEMVER"}],"versions":[],"fixed":["0.10.80"]},{"ecosystem":"crates.io","name":"openssl","sources":[{"name":"OSV · RUSTSEC-2026-0477","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0477"}],"ranges":[{"events":[{"introduced":"0.10.50"},{"fixed":"0.10.80"}],"type":"SEMVER"}],"versions":[],"fixed":["0.10.80"]}],"sourceAffected":[],"references":["https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-phqj-4mhp-q6mq","https://github.com/rust-openssl/rust-openssl","https://crates.io/crates/openssl","https://rustsec.org/advisories/RUSTSEC-2026-0477.html","https://github.com/rust-openssl/rust-openssl/pull/2638"],"sources":[{"name":"OSV","id":"GHSA-phqj-4mhp-q6mq","modified":"2026-11-10T14:10:52.035417381Z","url":"https://osv.dev/vulnerability/GHSA-phqj-4mhp-q6mq"},{"name":"OSV","id":"RUSTSEC-2026-0477","modified":"2026-11-10T14:00:02.477702931Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0477"}],"assessments":[{"source":"OSV","vector":"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","score":5.1}],"products":[],"remediation":[],"observedAt":"2026-11-10T14:22:04.812Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T02:30:32.619Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-10T14:25:35.100Z","attemptedAt":"2026-11-10T14:25:35.100Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-10T14:25:35.537Z","attemptedAt":"2026-11-10T14:25:35.537Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-10T14:25:35.340Z","attemptedAt":"2026-11-10T14:25:35.340Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-10T14:25:35.324Z","attemptedAt":"2026-11-10T14:25:35.324Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-45784","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45784","modified":"2026-07-29T15:43:54.220","score":5.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-10T14:25:35.100Z"},{"source":"NVD","id":"CVE-2026-45784","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45784","modified":"2026-07-29T15:43:54.220","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","checkedAt":"2026-11-10T14:25:35.100Z"},{"source":"FIRST EPSS","id":"CVE-2026-45784","url":"https://www.first.org/epss/","probability":0.00134,"percentile":0.02929,"date":"2026-11-09","checkedAt":"2026-11-10T14:25:35.324Z"},{"source":"ENISA EUVD","id":"EUVD-2026-45322","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-45322","modified":"Jul 20, 2026, 1:49:55 PM","score":5.1,"vector":"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","checkedAt":"2026-11-10T14:25:35.340Z"},{"source":"GitHub Advisory Database","id":"GHSA-phqj-4mhp-q6mq","url":"https://github.com/advisories/GHSA-phqj-4mhp-q6mq","modified":"2026-05-19T19:50:15Z","checkedAt":"2026-11-10T14:25:35.537Z"}],"aiSummary":null}