Skip to content
High 7.5

OpenSSLのAES-GCM-SIVに脆弱性、不正な長さのIVで情報漏えいや改ざんのおそれ

CVE-2026-95692 First seen on SecPulse

Summary

OpenSSLのAES-GCM-SIVで、想定より短いIVを指定するとヒープ領域の範囲外を読み取り、アプリケーションが異常終了するおそれがあります。長いIVは末尾が黙って切り捨てられるため、影響を受けるのは4.1.0以上4.1.1未満、4.0.0以上4.0.4未満、3.5.0以上3.5.10未満です。修正版の4.1.1、4.0.4、3.5.10への更新が必要です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

OpenSSLのAES-GCM-SIVで、想定より短いIVを指定するとヒープ領域の範囲外を読み取り、アプリケーションが異常終了するおそれがあります。長いIVは末尾が黙って切り捨てられるため、影響を受けるのは4.1.0以上4.1.1未満、4.0.0以上4.0.4未満、3.5.0以上3.5.10未満です。修正版の4.1.1、4.0.4、3.5.10への更新が必要です。

Affected packages

PackageAffected → Fixed
OpenSSLOpenSSL
≥ 4.1.0, < 4.1.1→ 4.1.1
≥ 4.0.0, < 4.0.4→ 4.0.4
≥ 3.5.0, < 3.5.10→ 3.5.10

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

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 equivale…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details