CVE catalog

CVE-2025-24898

rust-openssl vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 4.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.68% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrust-opensslsid0.10.81-1fixed
Debianrust-opensslforky0.10.81-1fixed
Debianrust-openssltrixie0.10.72-1fixed
Debianrust-opensslbookworm0.10.45-1vulnerable
Ubunturust-opensslnobleNot reportedvulnerable
Ubunturust-opensslnoble0.10.57-1ubuntu0.1~esm1fixed
Ubuntulibrust-openssl-devnoble0.10.57-1ubuntu0.1~esm1fixed
Suselibkrunlinux micro 6.11.4.10-slfo.1.1_2.1fixed
Suselibkrunlinux micro 6.01.4.10-2.1fixed
Opensuselibkrunleap 16.01.4.10-160000.3.1fixed
Opensuseobs-service-cargotumbleweed4.5.0-2.1fixed
Ubunturust-opensslpro0.10.45-1vulnerable
Ubunturust-opensslpro0.10.57-1vulnerable
Ubunturust-opensslpro0.10.57-1ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-opensslsourcesid0.10.70-1not yet assignedNot reportedNot reported
Debianrust-opensslsourceforky0.10.70-1not yet assignedNot reportedNot reported
Debianrust-opensslsourcetrixie0.10.70-1not yet assignedNot reportedNot reported
Debianrust-opensslsourcebookworm(unfixed)not yet assignedNot reportedNot reported
Ubunturust-openssldebnoble0.10.57-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntulibrust-openssl-devdebnoble0.10.57-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Suselibkrunrpmlinux micro 6.11.4.10-slfo.1.1_2.1Not reportedSUSE-SU-2026:23070-1Not reported
Suselibkrunrpmlinux micro 6.01.4.10-2.1Not reportedSUSE-SU-2026:23036-1Not reported
Opensuselibkrunrpmleap 16.01.4.10-160000.3.1Not reportedOPENSUSE-SU-2026:21464-1Not reported
Opensuseobs-service-cargorpmtumbleweed4.5.0-2.1Not reportedOPENSUSE-SU-2025:14814-1Not reported
Ubunturust-openssldebpro0.10.57-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2025-24898Not reported

Notes

[bookworm] rust-openssl: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [rust-openssl]

    Details (2)
    • 0.10.45-1 · amd64 · bookworm

      Affected

      usn · rust-openssl · debian · bookworm; usn · rust-openssl · debian · 12

    • 0.10.45-1 · arm64 · bookworm

      Affected

      usn · rust-openssl · debian · bookworm; usn · rust-openssl · debian · 12

[Debian 13 (Trixie)]

  • Source package: [rust-openssl]

    Details (2)
    • 0.10.72-1 · amd64 · trixie

      Fixed · Fixed: 0.10.70-1

      usn · rust-openssl · debian · 13

    • 0.10.72-1 · arm64 · trixie

      Fixed · Fixed: 0.10.70-1

      usn · rust-openssl · debian · 13

[openSUSE Tumbleweed]

  • Source package: [obs-service-cargo]

    Details (1)
    • 7.2.2-2.1 · x86_64 · tumbleweed

      Fixed · Fixed: 4.5.0-2.1

      usn · obs-service-cargo · opensuse · tumbleweed

Observed:

References