Out-of-bounds write in rust-openssl - #VU126498

 

Out-of-bounds write in rust-openssl - #VU126498

Published: April 20, 2026


Vulnerability identifier: #VU126498
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Steven Fackler
Affected software:
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.


Remediation

Install security update from vendor's website.

Sources