CVE-2026-41898: rust-openssl provides OpenSSL bindings for the Rust programming language
Affects rust-opensslSource GCVE Database
Not known to be exploited · CVSS 8.3 High · fixed in 0.10.78 : patch rust-openssl soon.
Data as of 24 Nov 2026, 21:15 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.3 |
|---|
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.10.78
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10rust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10rust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSrust-opensslpkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-41898 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-41898 (opens in a new tab)
- github.com/rust-openssl/rust-openssl/security/advisories/GHSA-hppc-g8h3-xhp3 (opens in a new tab)
- github.com/rust-openssl/rust-openssl/pull/2607 (opens in a new tab)
- github.com/rust-openssl/rust-openssl/commit/1d109020d98fff2fb2e45c39a373af3dff99b24c (opens in a new tab)