CVE-2026-41898: Out-of-bounds read in rust-openssl PSK and cookie callbacks
- Vendor
- OpenSSL Software Foundation
CVE-2026-41898 is an out-of-bounds read vulnerability in the Rust openssl crate, affecting versions >=0.9.24 and <0.10.78. The FFI trampolines behind SslContextBuilder::set_psk_client_callback, its deprecated alias set_psk_callback, set_psk_server_callback, set_cookie_generate_cb, and set_stateless_cookie_generate_cb forward a user closure's returned usize to OpenSSL without verifying that it does not exceed the supplied mutable byte slice. An oversized returned length causes OpenSSL to read beyond the buffer. Cookie-generation callbacks can expose adjacent memory to a network peer because the generated cookie is transmitted. Version 0.10.78 fixes the issue by treating oversized returned lengths as callback failures.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disclose adjacent process memory, potentially exposing sensitive application data. Network disclosure is specifically established for cookie-generation callbacks, whose output is sent to the peer. Out-of-bounds reads may also disrupt application availability. Arbitrary code execution or integrity compromise is not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until the dependency can be upgraded, audit affected application callbacks and ensure that every successful return value equals the number of bytes actually written and never exceeds the supplied buffer length. Reject oversized lengths as callback errors. Avoid registering affected PSK or cookie-generation callbacks where those features are unnecessary.
Remediation
Patch, then assume compromise.
Upgrade the Rust openssl crate to version 0.10.78 or later and rebuild and redeploy applications incorporating the affected dependency. The fix validates callback-returned lengths against the supplied buffer size and rejects oversized values as callback failures. For affected VMware Tanzu Platform Automation Toolkit deployments, upgrade to version 5.5.1. For affected openSUSE 16 sdbootutil packages, install the updates associated with openSUSE-SU-2026:21933-1.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-41898 exploited in the wild?
- As of Nov 10, 2026, Mallory has no reports of CVE-2026-41898 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-41898?
- As of Nov 10, 2026, Mallory has found no public exploit for CVE-2026-41898.
- Is there a patch for CVE-2026-41898?
- Upgrade the Rust openssl crate to version 0.10.78 or later and rebuild and redeploy applications incorporating the affected dependency. The fix validates callback-returned lengths against the supplied buffer size and rejects oversized values as callback failures.
- What products are affected by CVE-2026-41898?
- OpenSSL Software Foundation Rust-Openssl.
- How severe is CVE-2026-41898?
- CVE-2026-41898 has a CVSS v4 score of 8.3 (High) and an EPSS score of 0.28% (21st percentile) as of Nov 10, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.