6.3

CVE-2025-24898: sfackler rust-openssl Use After Free

CVSS: 6.3v4.0MediumDeferred
AliasesRHSA-2025:7147RHSA-2025:7160RHSA-2025:7241
Published 03-02-2025Last modified 12-02-2025

Vulnerability summary

CVE-2025-24898 is a medium (CVSS 6.3) Use After Free vulnerability in sfackler rust-openssl. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 51.5% of scored vulnerabilities.

Overall risk
25/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.3/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.68%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 10

Timeline

  1. 03-02-2025
    PublishedVulnerability first disclosed.
  2. 12-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 8 sources · 2 versions

EPSS trend

Probability

0.68%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

0.00 pp

From 0.68% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.68%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat20 products
  • bootc< 0:1.1.6-3.el9_6
  • bootc-debuginfo< 0:1.1.6-3.el9_6
  • bootc-debugsource< 0:1.1.6-3.el9_6
  • bootupd< 0:0.2.27-3.el9
  • bootupd-debuginfo< 0:0.2.27-3.el9
Chainguard11 products
  • berg< 0.4.7-r1
  • linkerd-extension-init< 0.1.2-r1
  • linkerd2< 25.1.2-r1
  • lychee< 0.18.0-r1
  • nushell< 0.102.0-r0
Wolfi11 products
  • berg< 0.4.7-r1
  • linkerd-extension-init< 0.1.2-r1
  • linkerd2< 25.1.2-r1
  • lychee< 0.18.0-r1
  • nushell< 0.102.0-r0
Crates.Io1 product
  • openssl≥ 0.10.0, < 0.10.70 | ≥ 0.0.0-0, < 0.10.70
Debian1 product
  • rust-opensslAll versions (No fix recorded) | < 0.10.70-1 | < 0.10.29-1+deb11u1
Opensuse1 product
  • obs-service-cargo&distro=openSUSE Tumbleweed< 4.5.0-2.1
Sfackler1 product
Ubuntu1 product
  • rust-openssl< 0.10.23-1ubuntu0.1~esm1 | < 0.10.36-1ubuntu0.1~esm1 | < 0.10.57-1ubuntu0.1~esm1

8 vendors · 47 products

References

34 links
Show all 34 references