Out-of-bounds write in rust-openssl - CVE-2026-41676

 

Out-of-bounds write in rust-openssl - CVE-2026-41676

Published: April 20, 2026


Vulnerability identifier: #VU126498
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-41676
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a buffer overflow.

The vulnerability exists due to a heap/stack overflow in Deriver::derive and PkeyCtxRef::derive when deriving shared secrets into a caller-supplied buffer on OpenSSL 1.1.x. A remote attacker can provide or trigger use of a short buffer to cause a buffer overflow.

Only OpenSSL 1.1.x is affected; OpenSSL 3.x providers check the buffer length.


Affected software

rust-openssl
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Fedora
Public Cloud Module
Basesystem Module
Python 3 Module
Development Tools Module
openSUSE Leap
ClamAV
rust-eif_build
rust-ingredients
keylime-agent-rust
rust-keylime-debuginfo
rust-keylime
sccache-debugsource
sccache-debuginfo
sccache
rust-oo7-cli
rust-cargo-vendor-filterer
rust-openssl-sys
rust-openssl
rust-rpki
rust-nu
python311-maturin
libclammspack0-debuginfo
libfreshclam4-debuginfo
clamav-devel
clamav-debuginfo
libclamav12
libclamav12-debuginfo
clamav-milter
clamav
clamav-milter-debuginfo
clamav-debugsource
libfreshclam4
libclammspack0
clamav-docs-html
rust-tealdeer
rustup-debuginfo
rustup-debugsource
rustup
cryptsetup-ssh-debuginfo
cryptsetup
cryptsetup-debuginfo
libcryptsetup-devel
cryptsetup-ssh
libcryptsetup12
cryptsetup-debugsource
libcryptsetup12-debuginfo
cryptsetup-doc
cryptsetup-lang
libcryptsetup12-32bit
libcryptsetup12-32bit-debuginfo
s390-tools
s390-tools-debuginfo
s390-tools-hmcdrvfs-debuginfo
s390-tools-zdsfs-debuginfo
libekmfweb1-devel
libkmipclient1-debuginfo
libkmipclient1-devel
s390-tools-chreipl-fcp-mpath
libekmfweb1
libkmipclient1
s390-tools-hmcdrvfs
osasnmpd
libekmfweb1-debuginfo
osasnmpd-debuginfo
s390-tools-zdsfs
s390-tools-genprotimg-data
s390-tools-debugsource
python311-cryptography

How to mitigate CVE-2026-41676

Install security update from vendor's website.

rust-openssl - update to 0.10.78
ClamAV - addressed in versions 1.4.5, 1.5.3
rust-eif_build - addressed in versions 0.2.1-7.el9, 0.2.1-7.fc43, 0.2.1-7.fc44
rust-ingredients - update to 0.2.2-4.fc43
keylime-agent-rust - addressed in versions 0.2.9-2.fc43, 0.2.9-2.fc44
rust-keylime-debuginfo - addressed in versions 0.2.9+49-150400.3.19.1, 0.2.9+49-150400.3.21.1, 0.2.9+49-150500.3.19.1
rust-keylime - addressed in versions 0.2.9+49-150400.3.19.1, 0.2.9+49-150400.3.21.1, 0.2.9+49-150500.3.19.1
sccache-debugsource - update to 0.4.2~4-150400.3.12.1
sccache-debuginfo - update to 0.4.2~4-150400.3.12.1
sccache - update to 0.4.2~4-150400.3.12.1
rust-oo7-cli - update to 0.4.3-5.fc44
rust-cargo-vendor-filterer - addressed in versions 0.5.18-5.el9, 0.5.18-5.el10_2, 0.5.18-5.el10_3, 0.5.18-5.fc43, 0.5.18-5.fc44
rust-openssl-sys - addressed in versions 0.9.114-1.el9, 0.9.114-1.el10_2, 0.9.114-1.el10_3, 0.9.114-1.fc42, 0.9.114-1.fc43, 0.9.114-1.fc44, 0.9.114-1.fc45
rust-openssl - addressed in versions 0.10.78-1.el9, 0.10.78-1.el10_2, 0.10.78-1.el10_3, 0.10.78-1.fc42, 0.10.78-1.fc43, 0.10.78-1.fc44, 0.10.78-1.fc45
rust-rpki - addressed in versions 0.18.6-4.el9, 0.18.6-4.el10_2, 0.18.6-4.el10_3, 0.18.6-4.fc43, 0.18.6-4.fc44
rust-nu - addressed in versions 0.99.1-17.el9, 0.99.1-17.fc43, 0.99.1-17.fc44
python311-maturin - update to 1.4.0-150600.3.15.1
libclammspack0-debuginfo - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
libfreshclam4-debuginfo - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
clamav-devel - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
clamav-debuginfo - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
libclamav12 - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
libclamav12-debuginfo - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
clamav-milter - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
clamav - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
clamav-milter-debuginfo - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
clamav-debugsource - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
libfreshclam4 - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
libclammspack0 - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
clamav-docs-html - addressed in versions 1.5.3-3.56.1, 1.5.3-150400.13.8.1, 1.5.3-150600.18.28.1
rust-tealdeer - addressed in versions 1.7.3-2.fc43, 1.7.3-2.fc44
rustup-debuginfo - update to 1.28.2~0-150600.10.13.1
rustup-debugsource - update to 1.28.2~0-150600.10.13.1
rustup - update to 1.28.2~0-150600.10.13.1
rustup - addressed in versions 1.29.0-4.fc43, 1.29.0-4.fc44
cryptsetup-ssh-debuginfo - update to 2.8.4-150700.6.4.4
cryptsetup - update to 2.8.4-150700.6.4.4
cryptsetup-debuginfo - update to 2.8.4-150700.6.4.4
libcryptsetup-devel - update to 2.8.4-150700.6.4.4
cryptsetup-ssh - update to 2.8.4-150700.6.4.4
libcryptsetup12 - update to 2.8.4-150700.6.4.4
cryptsetup-debugsource - update to 2.8.4-150700.6.4.4
libcryptsetup12-debuginfo - update to 2.8.4-150700.6.4.4
cryptsetup-doc - update to 2.8.4-150700.6.4.4
cryptsetup-lang - update to 2.8.4-150700.6.4.4
libcryptsetup12-32bit - update to 2.8.4-150700.6.4.4
libcryptsetup12-32bit-debuginfo - update to 2.8.4-150700.6.4.4
s390-tools - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
s390-tools-debuginfo - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
s390-tools-hmcdrvfs-debuginfo - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
s390-tools-zdsfs-debuginfo - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
libekmfweb1-devel - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
libkmipclient1-debuginfo - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
libkmipclient1-devel - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1
s390-tools-chreipl-fcp-mpath - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
libekmfweb1 - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
libkmipclient1 - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
s390-tools-hmcdrvfs - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
osasnmpd - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
libekmfweb1-debuginfo - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
osasnmpd-debuginfo - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
s390-tools-zdsfs - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
s390-tools-genprotimg-data - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
s390-tools-debugsource - addressed in versions 2.31.0-150400.7.34.1, 2.31.0-150500.9.32.1, 2.41.0-150700.4.26.2
python311-cryptography - addressed in versions 41.0.3-150400.16.25.1, 41.0.3-150600.23.9.1

External References

Related Security Bulletins