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. Supplyi...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSnodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:16.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:16.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSopenssl1.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSnodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:18.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:18.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:20.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS:20.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSnodejs |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-preview:22.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-preview:22.04:LTSopenssl-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:22.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:22.04:LTSopenssl-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:24.04:LTSopenssl-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10edk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10edk2-hwe |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10openssl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSedk2-hwe |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSopenssl |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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 tag that verify under a different IV whose first bytes match, since the surplus bytes never influence the computation. The message itself is unchanged, so this is a failure of IV commitment rather than a classic existential forgery. Only applications that call EVP_CipherInit_ex() (or the equivalent pr…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report openssl-library.org
- report github.com
- report github.com
- report github.com