Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-41678
Published:April 23, 2026
Updated:April 23, 2026
Summary "aes::unwrap_key()" has an incorrect bounds assertion on the out buffer size, which can lead to out-of-bounds write. Details "aes::unwrap_key()" contains an incorrect assertion: it checks that "out.len() + 8 <= in_.len()", but this condition is reversed. The intended invariant is "out.len() >= in_.len() - 8", ensuring the output buffer is large enough. Because of the inverted check, the function only accepts buffers at or below the minimum required size and rejects larger ones. If a smaller buffer is provided the function will write past the end of "out" by "in_.len() - 8 - out.len()" bytes, causing an out-of-bounds write from a safe public function. Impact Vulnerable applications using AES keywrap and allowing attacker controlled buffer sizes could have an attacker trigger an out-of-bounds write.
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.24 <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)
Out-of-bounds Write