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, 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.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.3
- CVSS vector
- 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
- EPSS probability
- 0.28%
- CWE
- CWE-126, CWE-130
- Published
- 2026-04-24
- Last modified
- 2026-04-24
Affected products
- rust-openssl rust-openssl
Weakness type
Related vulnerabilities
- CVE-2026-83949 — Microsoft Office Word Information Disclosure Vulnerability
- CVE-2026-83951 — Microsoft Office Word Information Disclosure Vulnerability
- CVE-2026-81399 — Microsoft Excel Information Disclosure Vulnerability
- CVE-2026-78516 — Windows Storage Information Disclosure Vulnerability
- CVE-2026-72974 — Microsoft Office Excel Information Disclosure Vulnerability
- CVE-2026-69626 — Microsoft Office Information Disclosure Vulnerability
- CVE-2026-72932 — Windows Message Queuing Queue Manager Information Disclosure Vulnerability
- CVE-2026-69794 — Windows Encrypting File System (EFS) Information Disclosure Vulnerability