Skip to content
OpenAdvisories
Medium · 5.1 CVE-2026-45784 EUVD-2026-45322GHSA-phqj-4mhp-q6mqRUSTSEC-2026-0477

rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for AES-KW-PAD ciphers

Published Jul 17, 2026 · Updated Jul 20, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
rust-openssl rust-openssl >= 0.10.50, < 0.10.80 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-openssl 0.10.81-1 —
Debian 13 rust-openssl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-openssl No fix yet —
Ubuntu 26.04 LTS rust-openssl No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS rust-openssl No fix yet —
Ubuntu Pro 22.04 LTS rust-openssl No fix yet —
Ubuntu Pro 20.04 LTS rust-openssl No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 aws-nitro-enclaves-cli 1.4.5~git0.18a5f6f-150600.10.12.1 SUSE-SU-2026:3152-1
SLES 15 SP7 rustup 1.28.2~0-150600.10.13.1 SUSE-SU-2026:2832-1
SLES 15 SP7 sccache 0.16.0~0-150600.10.11.1 SUSE-SU-2026:3022-1
SLES 15 SP7 snpguest 0.10.0-150700.3.6.1 SUSE-SU-2026:3791-1
SLES 15 SP7 snphost 0.6.1-150700.3.6.1 SUSE-SU-2026:3642-1
SLES 15 SP6 aws-nitro-enclaves-cli 1.4.5~git0.18a5f6f-150600.10.12.1 SUSE-SU-2026:3152-1
SLES 15 SP6 himmelblau 2.3.14+git0.e23b4c54-150500.11.12.1 SUSE-SU-2026:3576-1
SLES 15 SP6 python-cryptography 41.0.3-150600.23.9.1 SUSE-SU-2026:3026-1
SLES 15 SP6 rustup 1.28.2~0-150600.10.13.1 SUSE-SU-2026:2832-1
SLES 15 SP6 sccache 0.16.0~0-150600.10.11.1 SUSE-SU-2026:3022-1
SLES 15 SP5 himmelblau 2.3.14+git0.e23b4c54-150500.11.12.1 SUSE-SU-2026:3576-1
SLES 15 SP5 python-cryptography 41.0.3-150400.16.25.1 SUSE-SU-2026:3040-1
SLES 15 SP5 rustup 1.28.2~0-150400.3.13.1 SUSE-SU-2026:2831-1
SLES 15 SP4 python-cryptography 41.0.3-150400.16.25.1 SUSE-SU-2026:3040-1
SLES 15 SP4 rustup 1.28.2~0-150400.3.13.1 SUSE-SU-2026:2831-1
SLES 3 python-cryptography 41.0.3-150600.23.9.1 SUSE-SU-2026:3026-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 afterburn 5.10.0.git73.b97f772-160000.1.1 SUSE-SU-2026:22827-1
SLES for SAP 16.0 agama 17+647.daf9950fc-160000.12.1 SUSE-SU-2026:22622-1
SLES for SAP 16.0 aws-nitro-enclaves-cli 1.4.5~git0.18a5f6f-160000.1.1 SUSE-SU-2026:22841-1
SLES for SAP 16.0 himmelblau 2.3.14+git0.e23b4c54-160000.1.1 SUSE-SU-2026:23233-1
SLES for SAP 16.0 python-cryptography 44.0.3-160000.4.1 SUSE-SU-2026:22624-1
SLES for SAP 16.0 python-maturin 1.8.7-160000.5.1 SUSE-SU-2026:22615-1
SLES for SAP 16.0 rust-keylime 0.2.9+49-160000.1.1 SUSE-SU-2026:22583-1
SLES for SAP 16.0 rustup 1.29.1~0-160000.1.1 SUSE-SU-2026:24014-1
SLES for SAP 16.0 sccache 0.18.0~2-160000.1.1 SUSE-SU-2026:23983-1
SLES for SAP 16.0 snpguest 0.10.0-160000.2.1 SUSE-SU-2026:23236-1
SLES for SAP 16.0 snphost 0.6.0-160000.3.1 SUSE-SU-2026:23327-1
SLES for SAP 15 SP6 himmelblau 2.3.14+git0.e23b4c54-150500.11.12.1 SUSE-SU-2026:3576-1
SLES for SAP 15 SP6 python-cryptography 41.0.3-150600.23.9.1 SUSE-SU-2026:3026-1
SLES for SAP 15 SP6 rustup 1.28.2~0-150600.10.13.1 SUSE-SU-2026:2832-1
SLES for SAP 15 SP6 sccache 0.16.0~0-150600.10.11.1 SUSE-SU-2026:3022-1
SLES for SAP 15 SP5 himmelblau 2.3.14+git0.e23b4c54-150500.11.12.1 SUSE-SU-2026:3576-1
SLES for SAP 15 SP5 python-cryptography 41.0.3-150400.16.25.1 SUSE-SU-2026:3040-1
SLES for SAP 15 SP5 rustup 1.28.2~0-150400.3.13.1 SUSE-SU-2026:2831-1
SLES for SAP 15 SP4 python-cryptography 41.0.3-150400.16.25.1 SUSE-SU-2026:3040-1
SLES for SAP 15 SP4 rustup 1.28.2~0-150400.3.13.1 SUSE-SU-2026:2831-1
SLES 16.0 afterburn 5.10.0.git73.b97f772-160000.1.1 SUSE-SU-2026:22827-1
SLES 16.0 agama 17+647.daf9950fc-160000.12.1 SUSE-SU-2026:22622-1
SLES 16.0 aws-nitro-enclaves-cli 1.4.5~git0.18a5f6f-160000.1.1 SUSE-SU-2026:22841-1
SLES 16.0 himmelblau 2.3.14+git0.e23b4c54-160000.1.1 SUSE-SU-2026:23233-1
SLES 16.0 python-cryptography 44.0.3-160000.4.1 SUSE-SU-2026:22624-1
SLES 16.0 python-maturin 1.8.7-160000.5.1 SUSE-SU-2026:22615-1
SLES 16.0 rust-keylime 0.2.9+49-160000.1.1 SUSE-SU-2026:22583-1
SLES 16.0 rustup 1.29.1~0-160000.1.1 SUSE-SU-2026:24014-1
SLES 16.0 sccache 0.18.0~2-160000.1.1 SUSE-SU-2026:23983-1
SLES 16.0 snpguest 0.10.0-160000.2.1 SUSE-SU-2026:23236-1
SLES 16.0 snphost 0.6.0-160000.3.1 SUSE-SU-2026:23327-1
SLE Micro 6.2 afterburn 5.10.0.git73.b97f772-160000.1.1 SUSE-SU-2026:22787-1
SLE Micro 6.2 python-cryptography 44.0.3-160000.4.1 SUSE-SU-2026:22593-1
SLE Micro 6.2 python-maturin 1.8.7-160000.5.1 SUSE-SU-2026:22589-1
SLE Micro 6.2 rust-keylime 0.2.9+49-160000.1.1 SUSE-SU-2026:22554-1
SLE Micro 6.1 afterburn 5.10.0.git73.b97f772-slfo.1.1_1.1 SUSE-SU-2026:23071-1
SLE Micro 6.1 python-cryptography 42.0.4-slfo.1.1_5.1 SUSE-SU-2026:22895-1
SLE Micro 6.1 rust-keylime 0.2.9+49-slfo.1.1_1.1 SUSE-SU-2026:22898-1
SLE Micro 6.0 afterburn 5.10.0.git73.b97f772-1.1 SUSE-SU-2026:22917-1
SLE Micro 6.0 python-cryptography 42.0.4-5.1 SUSE-SU-2026:22801-1
SLE Micro 6.0 rust-keylime 0.2.9+49-1.1 SUSE-SU-2026:22921-1
SLE Micro 5.5 afterburn 5.10.0.git73.b97f772-150500.3.6.1 SUSE-SU-2026:2975-1
SLE Micro 5.5 rust-keylime 0.2.9+49-150500.3.19.1 SUSE-SU-2026:2807-1
SLE Micro 5.4 afterburn 5.10.0.git73.b97f772-150400.3.6.1 SUSE-SU-2026:2977-1
SLE Micro 5.4 rust-keylime 0.2.9+49-150400.3.19.1 SUSE-SU-2026:2826-1
SLE Micro 5.3 afterburn 5.10.0.git73.b97f772-150400.3.6.1 SUSE-SU-2026:2976-1
SLE Micro 5.3 rust-keylime 0.2.9+49-150400.3.21.1 SUSE-SU-2026:2825-1
SLE HPC 15 SP5 himmelblau 2.3.14+git0.e23b4c54-150500.11.12.1 SUSE-SU-2026:3576-1
SLE HPC 15 SP5 python-cryptography 41.0.3-150400.16.25.1 SUSE-SU-2026:3040-1
SLE HPC 15 SP5 rustup 1.28.2~0-150400.3.13.1 SUSE-SU-2026:2831-1
SLE HPC 15 SP4 python-cryptography 41.0.3-150400.16.25.1 SUSE-SU-2026:3040-1
SLE HPC 15 SP4 rustup 1.28.2~0-150400.3.13.1 SUSE-SU-2026:2831-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed afterburn 5.10.0.git73.b97f772-1.1 openSUSE-SU-2026:11255-1
openSUSE Tumbleweed agama 22+398.d23cf880d-49.1 openSUSE-SU-2026:11274-1
openSUSE Tumbleweed aws-nitro-enclaves-cli 1.4.5~git0.18a5f6f-1.1 openSUSE-SU-2026:11275-1
openSUSE Tumbleweed cargo-c 0.10.23-1.1 openSUSE-SU-2026:11210-1
openSUSE Tumbleweed rust-keylime 0.2.9+49-1.1 openSUSE-SU-2026:11222-1
openSUSE Tumbleweed rustup 1.28.2~0-5.1 openSUSE-SU-2026:11223-1
openSUSE Tumbleweed sccache 0.16.0~0-3.1 openSUSE-SU-2026:11224-1
openSUSE Tumbleweed sdbootutil 1+git20260713.d869cf8-1.1 openSUSE-SU-2026:11262-1
openSUSE Tumbleweed snpguest 0.10.0-3.1 openSUSE-SU-2026:11653-1
openSUSE Tumbleweed snphost 0.7.0-3.1 openSUSE-SU-2026:11654-1
openSUSE Leap 16.0 afterburn 5.10.0.git73.b97f772-160000.1.1 openSUSE-SU-2026:21386-1
openSUSE Leap 16.0 agama 17+647.daf9950fc-160000.12.1 openSUSE-SU-2026:21292-1
openSUSE Leap 16.0 aws-nitro-enclaves-cli 1.4.5~git0.18a5f6f-160000.1.1 openSUSE-SU-2026:21406-1
openSUSE Leap 16.0 himmelblau 2.3.14+git0.e23b4c54-160000.1.1 openSUSE-SU-2026:21573-1
openSUSE Leap 16.0 python-cryptography 44.0.3-160000.4.1 openSUSE-SU-2026:21294-1
openSUSE Leap 16.0 python-maturin 1.8.7-160000.5.1 openSUSE-SU-2026:21285-1
openSUSE Leap 16.0 rust-keylime 0.2.9+49-160000.1.1 openSUSE-SU-2026:21274-1
openSUSE Leap 16.0 rustup 1.29.1~0-160000.1.1 openSUSE-SU-2026:22016-1
openSUSE Leap 16.0 sccache 0.18.0~2-160000.1.1 openSUSE-SU-2026:21982-1
openSUSE Leap 16.0 sdbootutil 1+git20260908.c641fc2-160000.1.1 openSUSE-SU-2026:21933-1
openSUSE Leap 16.0 snpguest 0.10.0-160000.2.1 openSUSE-SU-2026:21579-1
openSUSE Leap 16.0 snphost 0.6.0-160000.3.1 openSUSE-SU-2026:21638-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 clamd1.5 +8 1.5.2-1.amzn2023.0.2 ALAS2023-2026-1870
Amazon Linux 2023 rust +14 1.97.0-2.amzn2023 ALAS2023-2026-2065

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 389-ds-base No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling deno 2.7.14-r4 —
Wolfi rolling rpm-sequoia 1.10.2-r2 —
Wolfi rolling rustup 1.29.0-r8 —
Wolfi rolling sccache 0.15.0-r4 —
Wolfi rolling sdp-k8s-injector +1 1.3.11-r0 —
Wolfi rolling sqlx 0.8.6-r9 —
Wolfi rolling vector 0.55.0-r6 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io openssl >= 0.10.50, < 0.10.80 0.10.80 GHSA-phqj-4mhp-q6mq

Advisories 50

References