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

 

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

Published: April 20, 2026


Vulnerability identifier: #VU126496
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
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 memory corruption.

The vulnerability exists due to out-of-bounds write in aes::unwrap_key() when processing attacker-controlled buffer sizes. A remote attacker can provide a buffer that is smaller than required to cause memory corruption.

The issue stems from an inverted bounds assertion on the output buffer size in a safe public function.


Remediation

Install security update from vendor's website.

Sources