Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-41676
Published:April 23, 2026
Updated:April 23, 2026
"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.
Affected Packages
https://github.com/rust-openssl/rust-openssl.git (GITHUB):
Affected version(s) >=openssl-v0.10.0 <openssl-v0.10.78
Fix Suggestion:
Update to version openssl-v0.10.78
https://github.com/rust-openssl/rust-openssl.git (GITHUB):
Affected version(s) >=openssl-sys-v0.7.15 <openssl-sys-v0.9.114
Fix Suggestion:
Update to version openssl-sys-v0.9.114
openssl (RUST):
Affected version(s) >=0.10.0 <0.10.78
Fix Suggestion:
Update to version 0.10.78
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Incorrect Calculation of Buffer Size
Out-of-bounds Write