CVEMETERBack to radar
OFFICIAL RECORD · Rust packages

CVE-2025-24898

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 6.3 · medium

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_M
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
Assessment source · checked 2026-11-19T12:57:28.252Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:57:28.252ZCVE Program
epssverified2026-11-19T16:04:40.588ZFIRST EPSS
patchesverified2026-11-19T12:52:41.218ZOSV
affectedverified2026-11-19T12:57:28.252ZCVE Program
lifecycleverified2026-11-19T12:57:28.252ZCVE 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 JSON
OSV · 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarycrates.io / packageopensslNot a distribution channel0.10.70Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history