Skip to main content
VulnerabilityPublished Updated

CVE-2025-24898: rust-openssl is a set of OpenSSL bindings for the Rust programming language

Affects rust-opensslSource GCVE Database

0
Compare

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <0.10.57-1ubuntu0.1~esm1
Fixed in
  • 0.10.57-1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.10.36-1ubuntu0.1~esm1
Fixed in
  • 0.10.36-1ubuntu0.1~esm1
Ubuntu Pro 20.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/focalOther threatsAffected
  • <0.10.23-1ubuntu0.1~esm1
Fixed in
  • 0.10.23-1ubuntu0.1~esm1

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

Community reviews

Loading reviews…