CVE-2025-24898
published medium CVSS 4.0 · 6.3rust openssl ssl::select_next_proto use after free
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sfackler | — | rust-openssl>= 0.10.0, < 0.10.70 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | rust-openssl | Advisory build | 0.10.29-1+deb11u1 | DLA-4049-1 |
| Ubuntu | focal | rust-openssl | Advisory build | 0.10.23-1ubuntu0.1~esm1 | USN-7891-1 |
| AlmaLinux | 9 | bootc | Advisory build | 1.1.6-3.el9_6 | ALSA-2025:7160 |
| Oracle Linux | 9 | bootcaarch64 | Advisory build | 0:1.1.6-3.el9_6 | ELSA-2025-7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootcaarch64 | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | rust-openssl | Advisory build | 0.10.36-1ubuntu0.1~esm1 | USN-7891-1 |
| Ubuntu | noble | rust-openssl | Advisory build | 0.10.57-1ubuntu0.1~esm1 | USN-7891-1 |
| AlmaLinux | 9 | bootupd | Advisory build | 0.2.27-3.el9 | ALSA-2025:7241 |
| AlmaLinux | 9 | keylime-agent-rust | Advisory build | 0.2.2-2.el9 | ALSA-2025:7313 |
| AlmaLinux | 9 | python3.12-cryptography | Advisory build | 41.0.7-2.el9 | ALSA-2025:7317 |
| AlmaLinux | 9 | rpm-ostree | Advisory build | 2025.5-1.el9 | ALSA-2025:7147 |
| AlmaLinux | 9 | rpm-ostree-libs | Advisory build | 2025.5-1.el9 | ALSA-2025:7147 |
| AlmaLinux | 9 | system-reinstall-bootc | Advisory build | 1.1.6-3.el9_6 | ALSA-2025:7160 |
| Oracle Linux | 9 | bootcx86_64 | Advisory build | 0:1.1.6-3.el9_6 | ELSA-2025-7160 |
| Oracle Linux | 9 | bootupdaarch64 | Advisory build | 0:0.2.27-3.el9 | ELSA-2025-7241 |
| Oracle Linux | 9 | bootupdx86_64 | Advisory build | 0:0.2.27-3.el9 | ELSA-2025-7241 |
| Oracle Linux | 9 | keylime-agent-rustaarch64 | Advisory build | 0:0.2.2-2.el9 | ELSA-2025-7313 |
| Oracle Linux | 9 | keylime-agent-rustx86_64 | Advisory build | 0:0.2.2-2.el9 | ELSA-2025-7313 |
| Oracle Linux | 9 | python3.12-cryptographyaarch64 | Advisory build | 0:41.0.7-2.el9 | ELSA-2025-7317 |
| Oracle Linux | 9 | python3.12-cryptographyx86_64 | Advisory build | 0:41.0.7-2.el9 | ELSA-2025-7317 |
| Oracle Linux | 9 | rpm-ostreeaarch64 | Advisory build | 0:2025.5-1.el9 | ELSA-2025-7147 |
| Oracle Linux | 9 | rpm-ostreex86_64 | Advisory build | 0:2025.5-1.el9 | ELSA-2025-7147 |
| Oracle Linux | 9 | rpm-ostree-libsaarch64 | Advisory build | 0:2025.5-1.el9 | ELSA-2025-7147 |
| Oracle Linux | 9 | rpm-ostree-libsx86_64 | Advisory build | 0:2025.5-1.el9 | ELSA-2025-7147 |
| Oracle Linux | 9 | system-reinstall-bootcaarch64 | Advisory build | 0:1.1.6-3.el9_6 | ELSA-2025-7160 |
| Oracle Linux | 9 | system-reinstall-bootcx86_64 | Advisory build | 0:1.1.6-3.el9_6 | ELSA-2025-7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootcppc64le | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootcs390x | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootcsrc | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootcx86_64 | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootc-debuginfoaarch64 | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootc-debuginfoppc64le | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootc-debuginfos390x | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootc-debuginfox86_64 | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootc-debugsourceaarch64 | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootc-debugsourceppc64le | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootc-debugsources390x | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootc-debugsourcex86_64 | Advisory build | 1.1.6-3.el9_6 | RHSA-2025:7160 |
| Red Hat Enterprise Linux | RHEL-9 | bootupdaarch64 | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | bootupdppc64le | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | bootupds390x | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | bootupdx86_64 | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | bootupd-debuginfoaarch64 | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | bootupd-debuginfoppc64le | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | bootupd-debuginfos390x | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | bootupd-debuginfox86_64 | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rustaarch64 | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rustppc64le | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rusts390x | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rustsrc | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rustx86_64 | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rust-debuginfoaarch64 | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rust-debuginfoppc64le | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rust-debuginfos390x | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rust-debuginfox86_64 | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rust-debugsourceaarch64 | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rust-debugsourceppc64le | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rust-debugsources390x | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | keylime-agent-rust-debugsourcex86_64 | Advisory build | 0.2.2-2.el9 | RHSA-2025:7313 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptographyaarch64 | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptographyppc64le | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptographys390x | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptographysrc | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptographyx86_64 | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptography-debuginfoaarch64 | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptography-debuginfoppc64le | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptography-debuginfos390x | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptography-debuginfox86_64 | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptography-debugsourceaarch64 | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptography-debugsourceppc64le | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptography-debugsources390x | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12-cryptography-debugsourcex86_64 | Advisory build | 41.0.7-2.el9 | RHSA-2025:7317 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostreeaarch64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostreeppc64le | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostrees390x | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostreesrc | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostreex86_64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debuginfoaarch64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debuginfoi686 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debuginfoppc64le | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debuginfos390x | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debuginfox86_64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debugsourceaarch64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debugsourcei686 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debugsourceppc64le | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debugsources390x | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-debugsourcex86_64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libsaarch64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libsi686 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libsppc64le | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libss390x | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libsx86_64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libs-debuginfoaarch64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libs-debuginfoi686 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libs-debuginfoppc64le | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libs-debuginfos390x | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rpm-ostree-libs-debuginfox86_64 | Advisory build | 2025.5-1.el9 | RHSA-2025:7147 |
| Red Hat Enterprise Linux | RHEL-9 | rust-bootupdsrc | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | rust-bootupd-debugsourceaarch64 | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
| Red Hat Enterprise Linux | RHEL-9 | rust-bootupd-debugsourceppc64le | Advisory build | 0.2.27-3.el9 | RHSA-2025:7241 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sfackler | rust-openssl | >= 0.10.0, < 0.10.70 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
4Provider assertions
3GitHub_M · cna
rust openssl ssl::select_next_proto use after free
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3a1755eb853c87118fe73b7d6f1706d5bac2d0a4e3fde2eed388d82c442fa8a8
- Ingested
- 23 Sep 2026, 08:41:39 UTC
- Source record
- Official CVE record