
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
- Severity
- High · CVSS 8.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-openssl | sid | 0.10.81-1 | fixed |
| Debian | rust-openssl | forky | 0.10.81-1 | fixed |
| Debian | rust-openssl | trixie | 0.10.72-1 | vulnerable |
| Debian | rust-openssl | bookworm | 0.10.45-1 | vulnerable |
| Cpe | rust-openssl | Not reported | Not reported | vulnerable |
| Cpe | rust-openssl | Not reported | 0.10.78 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-openssl | source | sid | 0.10.78-1 | not yet assigned | Not reported | [1134881] |
| Debian | rust-openssl | source | forky | 0.10.78-1 | not yet assigned | Not reported | [1134881] |
| Debian | rust-openssl | source | trixie | (unfixed) | not yet assigned | Not reported | [1134881] |
| Debian | rust-openssl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1134881] |
| Cpe | rust-openssl | cpe | Not reported | 0.10.78 | Not reported | Not reported | Not reported |
Notes
[trixie] rust-openssl: Minor issue [bookworm] rust-openssl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-openssl-dev]Affected
Source package: [rust-openssl]
Details (2)
0.10.45-1· amd64 · bookwormAffected
nvd · rust-openssl · debian · bookworm; nvd · rust-openssl · debian · 12
0.10.45-1· arm64 · bookwormAffected
nvd · rust-openssl · debian · bookworm; nvd · rust-openssl · debian · 12
[Debian 13 (Trixie)]
- [librust-openssl-dev]Affected
Source package: [rust-openssl]
Details (2)
0.10.72-1· amd64 · trixieAffected
nvd · rust-openssl · debian · 13
0.10.72-1· arm64 · trixieAffected
nvd · rust-openssl · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11210-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41898]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41898]
- [https://security-tracker.debian.org/tracker/CVE-2026-41898]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41898.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]