CVE catalog

CVE-2026-41898

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.24 to before 0.10.78, the FFI trampolines behind SslContextBuilder::set_psk_client_callback, set_psk_server_callback

[CVE catalog]

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

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.24 to before 0.10.78, the FFI trampolines behind SslContextBuilder::set_psk_client_callback, set_psk_server_callback, set_cookie_generate_cb, and set_stateless_cookie_generate_cb forwarded the user closure's returned usize directly to OpenSSL without checking it against the &mut [u8] that was handed to the closure. This can lead to buffer overflows and other unintended consequences. This vulnerability is fixed in 0.10.78.

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-1vulnerable
Debianrust-opensslbookworm0.10.45-1vulnerable
Cperust-opensslNot reportedNot reportedvulnerable
Cperust-opensslNot reported0.10.78fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-opensslsourcesid0.10.78-1not yet assignedNot reported[1134881]
Debianrust-opensslsourceforky0.10.78-1not yet assignedNot reported[1134881]
Debianrust-opensslsourcetrixie(unfixed)not yet assignedNot reported[1134881]
Debianrust-opensslsourcebookworm(unfixed)not yet assignedNot reported[1134881]
Cperust-opensslcpeNot reported0.10.78Not reportedNot reportedNot reported

[Debian bug #1134881]

Notes

[trixie] rust-openssl: Minor issue [bookworm] rust-openssl: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [rust-openssl]

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

      Affected

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

    • 0.10.45-1 · arm64 · bookworm

      Affected

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

[Debian 13 (Trixie)]

  • Source package: [rust-openssl]

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

      Affected

      nvd · rust-openssl · debian · 13

    • 0.10.72-1 · arm64 · trixie

      Affected

      nvd · rust-openssl · debian · 13

Observed:

References