Heap Corruption Vulnerability in rust-openssl Due to Incorrect Buffer Sizing
CVE-2026-44662
5.1MEDIUM
What is CVE-2026-44662?
The rust-openssl library has a vulnerability related to incorrect buffer sizing in certain cryptographic operations. Specifically, when using AES key-wrap-with-padding ciphers, the functions CipherCtxRef::cipher_update, CipherCtxRef::cipher_update_vec, and symm::Crypter::update improperly handle output buffers, leading to potential heap corruption. If an attacker can influence the plaintext length, up to 7 bytes may be erroneously written past the allocated memory, creating a security risk. This vulnerability is resolved in version 0.10.79, emphasizing the importance of updating to mitigate risks associated with this flaw.
Affected Version(s)
rust-openssl >= 0.10.0, < 0.10.79
