CVE-2026-63072: Openssl Cipher Unwrap Buffer Underallocation

The output buffer for EVP_CipherUpdate is allocated using only the queried output length rather than accommodating the input length. In key-unwrap modes such as AES-WRAP-PAD, integrity failures can write and cleanse up to the input length, causing an out-of-bounds heap write.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2026-63072-openssl-cipher-unwrap-buffer-underallocation --engine opengrep

Description

The output buffer for EVP_CipherUpdate is allocated using only the queried output length rather than accommodating the input length. In key-unwrap modes such as AES-WRAP-PAD, integrity failures can write and cleanse up to the input length, causing an out-of-bounds heap write.