PT-2026-34619 · Openssl+1 · Openssl+1

Alex

·

Published

2026-04-22

·

Updated

2026-04-28

·

CVE-2026-41676

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions rust-openssl versions 0.9.27 through 0.10.77
Description An issue exists where Deriver::derive() and PkeyCtxRef::derive() set the len variable to buf.len() and pass it as the in/out length to EVP PKEY derive. When using OpenSSL 1.1.x, the X25519, X448, DH, and HKDF-extract algorithms ignore the incoming *keylen and unconditionally write the full shared secret. This can result in a heap or stack overflow if a caller passes a short slice.
Recommendations Update to version 0.10.78. As a temporary workaround, restrict the use of Deriver::derive() and PkeyCtxRef::derive() when integrated with OpenSSL 1.1.x.

Fix

DoS

Memory Corruption

Weakness Enumeration

Related Identifiers

CVE-2026-41676
GHSA-PQF5-4PQQ-29F5

Affected Products

Openssl
Rust-Openssl