CVE-2026-45784
MEDIUM 5.1CVSS 4.0rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for AES-KW-PAD ciphers
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.50 until 0.10.80, CipherCtxRef::cipher_update_inplace in openssl/src/cipher_ctx.rs 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. This issue is fixed in version 0.10.80.
- Published
- 17 Jul 2026
- Last modified
- 10 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-131CWE-787
- Also known as
- GHSA-phqj-4mhp-q6mqRUSTSEC-2026-0477
- Sources
- NVDJSONOSV GHSA-phqj-4mhp-q6mqJSONOSV RUSTSEC-2026-0477JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.1 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sfackler | opensslcpe:2.3:a:sfackler:openssl:*:*:*:*:*:rust:*:* |
>= 0.10.50, < 0.10.80 | 0.10.80 |
| OSV | crates.io | openssl | >= 0.10.50, < 0.10.80 | 0.10.80 |
References
- https://github.com/rust-openssl/rust-openssl/commit/19eceb26f2404aae187e5444e65c404ebc1348a7 · Patch
- https://github.com/rust-openssl/rust-openssl/pull/2638 · Issue Tracking, Patch, WEB
- https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.80 · Product, Release Notes
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-phqj-4mhp-q6mq · Vendor Advisory, WEB
- https://github.com/rust-openssl/rust-openssl · PACKAGE
- https://crates.io/crates/openssl · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0477.html · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 May 2026)