← VULNERABILITIES

DHI-wbez-yplm-sm7b-4fzc

Issue summary: Setting an AES-GCM-SIV IV shorter than the expected nonce

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-19
Age
15d old
Modified
2026-12-04
Product
Docker Hardened Images:Alpine:3.23 openssl-provider-fips

Description

Issue summary: Setting an AES-GCM-SIV IV shorter than the expected nonce length via EVP_CipherInit_ex() may trigger a heap out-of-bounds read. Supplying a longer IV is silently truncated instead of rejected. Impact summary: An application passing a caller-supplied IV of the wrong length may crash or read beyond its buffer. Because trailing IV bytes are ignored, an attacker who knows one message and tag may forge messages under a different IV. CWE: CWE-125: Out-of-bounds Read Description: AES-GCM-SIV copies the caller-supplied IV or nonce into its internal state using a copy whose length is taken from the expected nonce size rather than from the length the caller actually provided. When the caller passes a shorter IV, the copy reads past the end of the caller's buffer; AddressSanitizer confirms a heap out-of-bounds read reached through EVP_CipherInit_ex() into ossl_aes_gcm_siv_init(). When the caller passes a longer IV, the implementation silently discards the trailing bytes instead of rejecting the length. The truncation breaks the binding between the IV and the computed authentication tag. An attacker who has observed a message and its tag under one IV can produce a message and ta

Fixed in

3.5.7-1~deb13u3+dhi1 · 3.5.9-1~deb13u1+dhi0 · 3.5.9-r2

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.23openssl>=0, <3.5.9-r23.5.9-r2
Docker Hardened Images:Alpine:3.24openssl>=0, <3.5.9-r23.5.9-r2
Docker Hardened Images:Debian:13openssl>=0, <3.5.7-1~deb13u3+dhi13.5.7-1~deb13u3+dhi1
Docker Hardened Images:Debian:13openssl>=3.5.7-1~deb13u3+fips+dhi0, <3.5.9-1~deb13u1+dhi03.5.9-1~deb13u1+dhi0

Sources

  • OSV · first seen 15d ago · CC-BY 4.0

References

JSON