CVE-2026-45784rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for…
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.
What to do
Fixed builds are available from Debian, crates.io: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rust-openssl | Fix pending | UBUNTU-CVE-2026-45784 | |
| Ubuntu 26.04 | rust-openssl | Under investigation | UBUNTU-CVE-2026-45784 | |
| Ubuntu 24.04 | rust-openssl | Fix pending | UBUNTU-CVE-2026-45784 | |
| Ubuntu 22.04 | rust-openssl | Fix pending | UBUNTU-CVE-2026-45784 | |
| Ubuntu 20.04 | rust-openssl | Fix pending | UBUNTU-CVE-2026-45784 | |
| Debian 14 | rust-openssl | Fixed | 0.10.81-1 | DEBIAN-CVE-2026-45784 |
| Debian 13 | rust-openssl | Fix pending | DEBIAN-CVE-2026-45784 | |
| crates.io library | openssl | Fixed | 0.10.80 | GHSA-phqj-4mhp-q6mq |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- rust-openssl: affected: >= 0.10.50, < 0.10.80
References
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-phqj-4mhp-q6mq
- https://github.com/rust-openssl/rust-openssl/pull/2638
- https://github.com/rust-openssl/rust-openssl/commit/19eceb26f2404aae187e5444e65c404ebc1348a7
- https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.80
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.