CVE-2026-41898

CVE-2026-41898 is a critical-severity vulnerability in Rust-openssl Project Rust-openssl with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-126.

Key facts

Description

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.

Frequently asked questions

What is 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.
How severe is CVE-2026-41898?
CVE-2026-41898 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2026-41898 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (33rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-41898?
CVE-2026-41898 affects Rust-openssl Project Rust-openssl. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-41898?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
Does CVE-2026-41898 have an EU (EUVD) identifier?
Yes. CVE-2026-41898 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-25587.
When was CVE-2026-41898 published?
CVE-2026-41898 was published on 2026-04-24 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Rust-openssl Project Rust-openssl

All CVEs affecting Rust-openssl Project Rust-openssl →

Other CWE-126 (Buffer Over-read) vulnerabilities

Browse all CWE-126 (Buffer Over-read) vulnerabilities →