CVE-2026-41898 json
rust-openssl: Unchecked callback-returned length in PSK and cookie generate trampolines can cause OpenSSL to leak adjacent memory to the network peer
published 2026-04-22 6 mo ago modified 2026-09-10 1 mo ago also GHSA-hppc-g8h3-xhp3 , EUVD-2026-25587
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io openssl 0.10.78
- rust-openssl_project rust-openssl 0.10.78
- rust-openssl Debian 14 0.10.78-1
debian advisories DEBIAN-CVE-2026-41898
- rustup SLES for SAP applications 16.0, SLES 16.0 1.29.1~0-160000.1.1
- sccache SLES for SAP applications 16.0, SLES 16.0 0.18.0~2-160000.1.1
- snpguest SLE Module for Server Applications 15 SP7 0.10.0-150700.3.6.1
- snphost SLES for SAP applications 16.0, SLES 16.0 0.6.0-160000.3.1
- snphost SLE Module for Confidential Computing Technical Preview 15 SP7 0.6.1-150700.3.6.1
- snpguest SLES for SAP applications 16.0, SLES 16.0 0.10.0-160000.2.1
- himmelblau SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES 15 SP6-LTSS +3 more 2.3.14+git0.e23b4c54-150500.11.12.1
- afterburn Linux Micro 6.1 5.10.0.git73.b97f772-slfo.1.1_1.1
suse advisories SUSE-SU-2026:24014-1SUSE-SU-2026:23983-1SUSE-SU-2026:3791-1SUSE-SU-2026:23327-1SUSE-SU-2026:3642-1SUSE-SU-2026:23236-1
- rustup openSUSE Leap 16.0 1.29.1~0-160000.1.1
- sccache openSUSE Leap 16.0 0.18.0~2-160000.1.1
- sdbootutil openSUSE Leap 16.0 1+git20260908.c641fc2-160000.1.1
- snpguest openSUSE Tumbleweed 0.10.0-3.1
- snphost openSUSE Tumbleweed 0.7.0-3.1
- snphost openSUSE Leap 16.0 0.6.0-160000.3.1
- snpguest openSUSE Leap 16.0 0.10.0-160000.2.1
- libkrun openSUSE Leap 16.0 1.4.10-160000.3.1
opensuse advisories openSUSE-SU-2026:22016-1openSUSE-SU-2026:21982-1openSUSE-SU-2026:21933-1openSUSE-SU-2026:11653-1openSUSE-SU-2026:11654-1openSUSE-SU-2026:21638-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-41898 updated cvss 8.8
rust-openssl: rust-openssl: Buffer overflow via improper callback return size validation
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N |
| CNA | 4.0 | 8.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | openssl | >=0.9.24, <0.10.78 |
0.10.78 |
Affected products
- rust-openssl rust-openssl
Classification
References
-
github.com
/rust-openssl/rust-openssl/pull/2607
web, issue-tracking
-
github.com
/rust-openssl/rust-openssl/commit/1d109020d98fff2fb2e45c39a373af3dff99b24c
web, patch
-
github.com
/rust-openssl/rust-openssl/security/advisories/GHSA-hppc-g8h3-xhp3
web, vendor-advisory
-
github.com
/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-41898
advisory
-
github.com
/rust-openssl/rust-openssl
package
Sources
- CVE List CVE-2026-41898
- GitHub Advisory GHSA-hppc-g8h3-xhp3
- NVD CVE-2026-41898
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.