Home / sfackler / rust-openssl / CVE-2025-24898
CVE-2025-24898: is it exploited, and which versions of sfackler rust-openssl are affected and fixed?
CVE-2025-24898 is an use after free vulnerability in sfackler rust-openssl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: openssl from 0.10.0 before 0.10.70 (GitHub advisory GHSA-rpmj-rpgj-qmpm). Fixed in 0.10.70 (GitHub advisory GHSA-rpmj-rpgj-qmpm). Severity: Medium (6.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-24898?
rust openssl ssl::select_next_proto use after free
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.
From the CVE record by GitHub_M, last updated February 12, 2025, 20:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sfackler | rust-openssl | >= 0.10.0, < 0.10.70 |
As the CVE record by GitHub_M states it, last updated February 12, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | openssl | >= 0.10.0, < 0.10.70 | 0.10.70 | GHSA-rpmj-rpgj-qmpm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 11, 2025. Summary: rust-openssl ssl::select_next_proto use after free.
How severe is CVE-2025-24898?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-24898 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, February 3, 2025)
- EPSS
- 0.68% probability of exploitation activity in the next 30 days, percentile 53.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- https://github.com/sfackler/rust-openssl/security/advisories/GHSA-rpmj-rpgj-qmpm x_refsource_CONFIRM
- https://github.com/sfackler/rust-openssl/pull/2360 x_refsource_MISC
- https://crates.io/crates/openssl x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/02/msg00009.html
When was it published, and where is the official record?
- Reserved
- January 27, 2025
- Published
- February 3, 2025, 17:57 UTC
- CVE record updated
- February 12, 2025, 20:51 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:59 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-24898
Is CVE-2025-24898 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.68% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of sfackler rust-openssl are affected by CVE-2025-24898?
openssl from 0.10.0 before 0.10.70, per the GitHub advisory GHSA-rpmj-rpgj-qmpm. The tables above give every range the sources list.
Which version fixes CVE-2025-24898?
0.10.70, per the GitHub advisory GHSA-rpmj-rpgj-qmpm. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-24898?
Medium (6.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-24898?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.