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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.676% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.3 · published by GitHub_MCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:28.252Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:28.252Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.588Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:41.218Z | OSV |
| affected | verified | 2026-11-19T12:57:28.252Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:28.252Z | CVE Program |
Affected versions and configuration
sfackler rust-openssl; default status: unknown: >= 0.10.0, < 0.10.70 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "sfackler",
"product": "rust-openssl",
"versions": [
{
"status": "affected",
"version": ">= 0.10.0, < 0.10.70"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://lists.debian.org/debian-lts-announce/2025/02/msg00009.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-02-11T08:03:32.760Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-24898",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-02-03T18:16:43.147824Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-02-12T20:51:24.929Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-rpmj-rpgj-qmpm",
"aliases": [
"CVE-2025-24898",
"RUSTSEC-2025-0004"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.10.0"
},
{
"fixed": "0.10.70"
}
]
}
],
"package": {
"name": "openssl",
"purl": "pkg:cargo/openssl",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-rpmj-rpgj-qmpm/GHSA-rpmj-rpgj-qmpm.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/sfackler/rust-openssl/security/advisories/GHSA-rpmj-rpgj-qmpm",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24898",
"type": "ADVISORY"
},
{
"url": "https://github.com/sfackler/rust-openssl/pull/2360",
"type": "WEB"
},
{
"url": "https://github.com/sfackler/rust-openssl/commit/f014afb230de4d77bc79dea60e7e58c2f47b60f2",
"type": "WEB"
},
{
"url": "https://crates.io/crates/openssl",
"type": "WEB"
},
{
"url": "https://github.com/sfackler/rust-openssl",
"type": "PACKAGE"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/02/msg00009.html",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0004.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-416"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-02-03T18:15:43Z",
"github_reviewed_at": "2025-02-03T17:56:46Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "RUSTSEC-2025-0004",
"aliases": [
"CVE-2025-24898",
"GHSA-rpmj-rpgj-qmpm"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.10.70"
}
]
}
],
"package": {
"name": "openssl",
"purl": "pkg:cargo/openssl",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"cvss": null,
"source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0004.json",
"categories": [
"memory-exposure"
],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [],
"arch": [],
"functions": [
"openssl::ssl::select_next_proto"
]
},
"affected_functions": null
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://crates.io/crates/openssl",
"type": "PACKAGE"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0004.html",
"type": "ADVISORY"
},
{
"url": "https://github.com/sfackler/rust-openssl/pull/2360",
"type": "WEB"
},
{
"url": "https://github.com/sfackler/rust-openssl/pull/2360",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"license": "CC0-1.0"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | crates.io / package | openssl | Not a distribution channel | 0.10.70 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:41.218ZArchived source JSON
Source publication: 2025-02-03T17:56:46.000Z
Source modification: 2026-09-10T03:50:06.186ZDocument fingerprint
b4893349d125dcac092d9e2358308590d2c2d89d2e1bc56cc20d80a3920374c1 - OSVConsulted: 2026-11-19T12:52:41.218ZArchived source JSON
Source publication: 2025-02-02T12:00:00.000Z
Source modification: 2026-10-12T18:00:12.406ZDocument fingerprint
b4893349d125dcac092d9e2358308590d2c2d89d2e1bc56cc20d80a3920374c1 - CVE ProgramConsulted: 2026-11-19T12:57:28.252ZArchived source JSON
Source publication: 2025-02-03T17:57:39.558Z
Source modification: 2025-02-12T20:51:24.929ZDocument fingerprint
3a1755eb853c87118fe73b7d6f1706d5bac2d0a4e3fde2eed388d82c442fa8a8 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:40.588ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f828727fd2419e9ee62887077d52e76b99e46a1d7a1ce89e08e7e861a70ba109
Official status history
- UNKNOWN → PUBLISHED · · evidence