← Vulnerability feed

Vulnerability record · CVE-2026-41676 · published 24 April 2026

CVE-2026-41676: Rust-openssl project rust-openssl out-of-bounds write vulnerability

RRust Openssl Project · Rust Openssl

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.27 to before 0.10.78, Deriver::derive (and PkeyCtxRef::derive) sets len = buf.len() and passes it as the in/out length to EVP_PKEY_derive, relying on OpenSSL to honor it. On OpenSSL 1.1.x, X25519, X448, DH and HKDF-extract ignore the incoming *keylen, unconditionally writing the full shared secret (32/56/prime-size bytes). A caller passing a short slice gets a heap/stack overflow from safe code. OpenSSL 3.x providers do check, so this only impacts older OpenSSL. This vulnerability is fixed in 0.10.78.

7.2 CVSS 4.0 High EPSS 0.29% · top 81.1% CWE-131 · CWE-131CWE-787 · Out-of-bounds write
7.2CVSS 4.0 base score
0.29%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References
15 Jul 2026Last modified by NVD

Description

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.27 to before 0.10.78, Deriver::derive (and PkeyCtxRef::derive) sets len = buf.len() and passes it as the in/out length to EVP_PKEY_derive, relying on OpenSSL to honor it. On OpenSSL 1.1.x, X25519, X448, DH and HKDF-extract ignore the incoming *keylen, unconditionally writing the full shared secret (32/56/prime-size bytes). A caller passing a short slice gets a heap/stack overflow from safe code. OpenSSL 3.x providers do check, so this only impacts older OpenSSL. This vulnerability is fixed in 0.10.78.

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/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:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-41676 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-20997Rust-openssl project rust-openssl use after free vulnerabilityAn issue was discovered in the openssl crate before 0.10.9 for Rust. A use-after-free occurs in CMS Signing.EPSS 1.7%8.3CVE-2026-41898Rust-openssl project rust-openssl vulnerabilityrust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.24 to before 0.10.78, the FFI trampolines behind SslContextBuilder…EPSS 0.28%8.1CVE-2026-41681Rust-openssl project rust-openssl stack-based buffer overflow vulnerabilityrust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.39 to before 0.10.78, EVP_DigestFinal() always writes EVP_MD_CTX_…EPSS 0.36%8.1CVE-2016-10931Rust-openssl project rust-openssl improper certificate validation vulnerabilityAn issue was discovered in the openssl crate before 0.9.0 for Rust. There is an SSL/TLS man-in-the-middle vulnerability because certificate verificat…EPSS 0.75%7.2CVE-2026-41678Rust-openssl project rust-openssl out-of-bounds write vulnerabilityrust-openssl provides OpenSSL bindings for the Rust programming language. From to before 0.10.78, aes::unwrap_key() contains an incorrect assertion: …EPSS 0.25%1.7CVE-2026-41677Rust-openssl project rust-openssl out-of-bounds read vulnerabilityrust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.0 to before 0.10.78, the *_from_pem_callback APIs did not validate…EPSS 0.29%7.8CVE-2020-17087Windows Kernel Pool Buffer Overflow Local Privilege EscalationCVE-2020-17087 is a local elevation of privilege flaw in the Windows kernel, classified as CWE-131 (incorrect calculation of buffer size). A local at…KEVEPSS 5.4%analysed

Source: NIST National Vulnerability Database (record CVE-2026-41676), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.