Out-of-bounds write in rust-openssl - #VU126498
Published: April 20, 2026
rust-openssl
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a buffer overflow.
The vulnerability exists due to a heap/stack overflow in Deriver::derive and PkeyCtxRef::derive when deriving shared secrets into a caller-supplied buffer on OpenSSL 1.1.x. A remote attacker can provide or trigger use of a short buffer to cause a buffer overflow.
Only OpenSSL 1.1.x is affected; OpenSSL 3.x providers check the buffer length.