CVE-2026-95692

Out-of-Bounds Read and Incorrect IV Length Handling in AES-GCM-SIV

Published Nov 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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 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 provider
cipher initialization) with an IV length other than the standard 12 bytes for
AES-GCM-SIV are affected. The severity is limited because the out-of-bounds
read is small and attacker-controlled only in length, and the forgery requires
an unusual IV length choice by the application.

FIPS impact: no
The FIPS modules are not affected by this issue, as AES-GCM-SIV is not an
approved algorithm.

Analysis

AI-generated

Technical impact

The vulnerability arises when OpenSSL's AES‑GCM‑SIV implementation copies a caller‑supplied IV using a fixed length based on the expected nonce size. If the IV is shorter, an out‑of‑bounds read occurs; if longer, the surplus bytes are silently truncated. This can cause a crash or allow an attacker who knows a message and its tag to forge a new message with a different IV that still verifies, undermining IV commitment. The weakness is a classic out‑of‑bounds read (CWE‑125).

Affected Systems

Any installation of OpenSSL that exposes the AES‑GCM‑SIV cipher to applications via EVP_CipherInit_ex() is vulnerable when the application passes a non‑standard IV length. The specific affected versions are not listed, so all builds that support AES‑GCM‑SIV and allow custom IV lengths are potentially impacted.

Risk and Exploitability

EPSS indicates a very low likelihood of exploitation (<1%), and the vulnerability is not listed in CISA’s KEV catalog, implying no documented active exploits. The CVSS score of 7.5 indicates a high severity. However, the issue can lead to a memory corruption that may crash the application or enable a subtle message forgery if an attacker can supply a crafted IV length and observe a legitimate message. Because it requires application code to use a non‑12‑byte IV, the attack surface is limited but the impact on confidentiality, integrity, and availability can be significant for affected systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the OpenSSL library to a release that includes the AES‑GCM‑SIV IV length fix.
  • Ensure that all calls to EVP_CipherInit_ex() in application code supply exactly a 12‑byte IV; add validation to reject any other size.
  • If an update cannot be performed immediately, modify the application to check the IV length before calling OpenSSL and abort or error when the length is not 12 bytes; this mitigates the truncation and out‑of‑bounds read.

Generated by OpenCVE AI on November 16, 2026 at 20:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
First Time appeared Openssl
Openssl openssl
Vendors & Products Openssl
Openssl openssl
Type Values Removed Values Added
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 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 provider cipher initialization) with an IV length other than the standard 12 bytes for AES-GCM-SIV are affected. The severity is limited because the out-of-bounds read is small and attacker-controlled only in length, and the forgery requires an unusual IV length choice by the application. FIPS impact: no The FIPS modules are not affected by this issue, as AES-GCM-SIV is not an approved algorithm.
Title Out-of-Bounds Read and Incorrect IV Length Handling in AES-GCM-SIV
Weaknesses CWE-125
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
openssl
Published
Updated
Nov 16, 2026, 7:08 PM
Reserved
Sep 22, 2026, 2:18 PM
Status
Awaiting Analysis
Published
Nov 10, 2026, 7:21 PM
Modified
Nov 16, 2026, 7:17 PM