CVE-2025-24898

EUVD-2025-0223
rust-openssl is a set of OpenSSL bindings for the Rust programming language. In affected versions `ssl::select_next_proto` can return a slice pointing into the `server` argument's buffer but with a lifetime bound to the `client` argument. In situations where the `sever` buffer's lifetime is shorter than the `client` buffer's, this can cause a use after free. This could cause the server to crash or to return arbitrary memory contents to the client. The crate`openssl` version 0.10.70 fixes the signature of `ssl::select_next_proto` to properly constrain the output buffer's lifetime to that of both input buffers. Users are advised to upgrade. In standard usage of `ssl::select_next_proto` in the callback passed to `SslContextBuilder::set_alpn_select_callback`, code is only affected if the `server` buffer is constructed *within* the callback.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
UNKNOWN
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 29%
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
bootc
RHEL 9
0:1.1.6-3.el9_6
fixed
bootupd
RHEL 9
0:0.2.27-3.el9
fixed
keylime-agent-rust
RHEL 9
0:0.2.2-2.el9
fixed
python3.12-cryptography
RHEL 9
0:41.0.7-2.el9
fixed
rpm-ostree
RHEL 9
0:2025.5-1.el9
fixed
rpm-ostree-libs
RHEL 9
0:2025.5-1.el9
fixed
system-reinstall-bootc
RHEL 9
0:1.1.6-3.el9_6
fixed