
CVE catalog
CVE-2025-24898
rust-openssl vulnerabilities
- Severity
- Medium · CVSS 4.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.68% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-openssl | sid | 0.10.81-1 | fixed |
| Debian | rust-openssl | forky | 0.10.81-1 | fixed |
| Debian | rust-openssl | trixie | 0.10.72-1 | fixed |
| Debian | rust-openssl | bookworm | 0.10.45-1 | vulnerable |
| Ubuntu | rust-openssl | noble | Not reported | vulnerable |
| Ubuntu | rust-openssl | noble | 0.10.57-1ubuntu0.1~esm1 | fixed |
| Ubuntu | librust-openssl-dev | noble | 0.10.57-1ubuntu0.1~esm1 | fixed |
| Suse | libkrun | linux micro 6.1 | 1.4.10-slfo.1.1_2.1 | fixed |
| Suse | libkrun | linux micro 6.0 | 1.4.10-2.1 | fixed |
| Opensuse | libkrun | leap 16.0 | 1.4.10-160000.3.1 | fixed |
| Opensuse | obs-service-cargo | tumbleweed | 4.5.0-2.1 | fixed |
| Ubuntu | rust-openssl | pro | 0.10.45-1 | vulnerable |
| Ubuntu | rust-openssl | pro | 0.10.57-1 | vulnerable |
| Ubuntu | rust-openssl | pro | 0.10.57-1ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-openssl | source | sid | 0.10.70-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-openssl | source | forky | 0.10.70-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-openssl | source | trixie | 0.10.70-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-openssl | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Ubuntu | rust-openssl | deb | noble | 0.10.57-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | librust-openssl-dev | deb | noble | 0.10.57-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Suse | libkrun | rpm | linux micro 6.1 | 1.4.10-slfo.1.1_2.1 | Not reported | SUSE-SU-2026:23070-1 | Not reported |
| Suse | libkrun | rpm | linux micro 6.0 | 1.4.10-2.1 | Not reported | SUSE-SU-2026:23036-1 | Not reported |
| Opensuse | libkrun | rpm | leap 16.0 | 1.4.10-160000.3.1 | Not reported | OPENSUSE-SU-2026:21464-1 | Not reported |
| Opensuse | obs-service-cargo | rpm | tumbleweed | 4.5.0-2.1 | Not reported | OPENSUSE-SU-2025:14814-1 | Not reported |
| Ubuntu | rust-openssl | deb | pro | 0.10.57-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2025-24898 | Not reported |
Notes
[bookworm] rust-openssl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-openssl-dev]Affected
Source package: [rust-openssl]
Details (2)
0.10.45-1· amd64 · bookwormAffected
usn · rust-openssl · debian · bookworm; usn · rust-openssl · debian · 12
0.10.45-1· arm64 · bookwormAffected
usn · rust-openssl · debian · bookworm; usn · rust-openssl · debian · 12
[Debian 13 (Trixie)]
- [librust-openssl-dev]Fixed
Source package: [rust-openssl]
Details (2)
0.10.72-1· amd64 · trixieFixed · Fixed:
0.10.70-1usn · rust-openssl · debian · 13
0.10.72-1· arm64 · trixieFixed · Fixed:
0.10.70-1usn · rust-openssl · debian · 13
[openSUSE Tumbleweed]
- [obs-service-cargo]Fixed
Source package: [obs-service-cargo]
Details (1)
7.2.2-2.1· x86_64 · tumbleweedFixed · Fixed:
4.5.0-2.1usn · obs-service-cargo · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21464-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-24898]
- [https://osv.dev/vulnerability/DLA-4049-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23036-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23070-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-24898]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:14814-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21464-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-24898]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-24898.json]
- [https://ubuntu.com/security/notices/USN-7891-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0366.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]