Out-of-bounds read in rust-openssl - CVE-2026-41898
Published: April 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper bounds checking in the FFI trampolines for SslContextBuilder::set_psk_client_callback, set_psk_server_callback, set_cookie_generate_cb, and set_stateless_cookie_generate_cb when forwarding callback-returned lengths to OpenSSL. A remote attacker can trigger processing of a callback that returns an excessive length to disclose sensitive information.
The issue stems from passing the user closure's returned usize directly to OpenSSL without checking it against the &mut [u8] buffer provided to the closure.
Affected software
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
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 for SAP Applications 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
Fedora
Public Cloud Module
Python 3 Module
Development Tools Module
openSUSE Leap
rust-eif_build
rust-ingredients
keylime-agent-rust
rust-keylime
rust-keylime-debuginfo
rust-oo7-cli
rust-cargo-vendor-filterer
rust-rpki
rust-nu
python311-maturin
aws-nitro-enclaves-cli-debuginfo
aws-nitro-enclaves-cli
aws-nitro-enclaves-cli-debugsource
system-group-ne
aws-nitro-enclaves-binaryblobs-upstream
aws-nitro-enclaves-binaryblobs-upstream-debuginfo
rust-tealdeer
rustup-debugsource
rustup-debuginfo
rustup
python311-cryptography
How to mitigate CVE-2026-41898
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 - 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-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-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-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
aws-nitro-enclaves-cli-debuginfo - update to 1.4.5~git0.18a5f6f-150600.10.12.1
aws-nitro-enclaves-cli - update to 1.4.5~git0.18a5f6f-150600.10.12.1
aws-nitro-enclaves-cli-debugsource - update to 1.4.5~git0.18a5f6f-150600.10.12.1
system-group-ne - update to 1.4.5~git0.18a5f6f-150600.10.12.1
aws-nitro-enclaves-binaryblobs-upstream - update to 1.4.5~git0.18a5f6f-150600.10.12.1
aws-nitro-enclaves-binaryblobs-upstream-debuginfo - update to 1.4.5~git0.18a5f6f-150600.10.12.1
rust-tealdeer - addressed in versions 1.7.3-2.fc43, 1.7.3-2.fc44
rustup-debugsource - update to 1.28.2~0-150600.10.13.1
rustup-debuginfo - 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
python311-cryptography - addressed in versions 41.0.3-150400.16.25.1, 41.0.3-150600.23.9.1
External References
Related Security Bulletins
- Multiple vulnerabilities in rust-openssl
- Fedora 43 update for rust-ingredients
- Fedora 44 update for rust-oo7-cli
- Fedora 44 update for rust-tealdeer
- Fedora 43 update for rust-tealdeer
- Fedora EPEL 9 update for rust-eif_build
- Fedora 43 update for rust-eif_build
- Fedora 44 update for rust-eif_build
- Fedora EPEL 10.3 update for rust-cargo-vendor-filterer
- Fedora 44 update for rust-cargo-vendor-filterer
- Fedora EPEL 10.2 update for rust-cargo-vendor-filterer
- Fedora EPEL 9 update for rust-cargo-vendor-filterer
- Fedora 43 update for rust-cargo-vendor-filterer
- Fedora 44 update for keylime-agent-rust
- Fedora 43 update for keylime-agent-rust
- Fedora EPEL 9 update for rust-rpki
- Fedora 44 update for rust-rpki
- Fedora EPEL 10.3 update for rust-rpki
- Fedora EPEL 10.2 update for rust-rpki
- Fedora 43 update for rust-rpki
- Fedora 43 update for rustup
- Fedora 44 update for rustup
- Fedora EPEL 9 update for rust-nu
- Fedora 43 update for rust-nu
- Fedora 44 update for rust-nu
- SUSE update for rust-keylime
- SUSE update for python-maturin
- SUSE update for rust-keylime
- SUSE update for rust-keylime
- SUSE update for rustup
- SUSE update for python-cryptography
- SUSE update for python-cryptography
- SUSE update for aws-nitro-enclaves-cli