CVE-2025-24898: rust-openssl is a set of OpenSSL bindings for the Rust programming language
Affects rust-opensslSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium · fixed in 0.10.23-1ubuntu0.1~esm1 : update rust-openssl when convenient.
Data as of 19 Nov 2026, 02:13 UTC
- Patch
- Available – fixed in 0.10.23-1ubuntu0.1~esm1, 0.10.36-1ubuntu0.1~esm1, 0.10.57-1ubuntu0.1~esm1
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade the Ubuntu rust-openssl to 0.10.23-1ubuntu0.1~esm1 (package) or 0.10.36-1ubuntu0.1~esm1 (package) or 0.10.57-1ubuntu0.1~esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-24898 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-24898 (opens in a new tab)
- crates.io/crates/openssl (opens in a new tab)
- github.com/sfackler/rust-openssl/pull/2360 (opens in a new tab)
- github.com/sfackler/rust-openssl/security/advisories/GHSA-rpmj-rpgj-qmpm (opens in a new tab)
- ubuntu.com/security/notices/USN-7891-1 (opens in a new tab)