OpenSSL ProjectのOpenSSLにおけるデータの整合性検証不備に関する脆弱性
タイトル OpenSSL ProjectのOpenSSLにおけるデータの整合性検証不備に関する脆弱性
概要

問題の概要:Cryptographic Message Services (CMS) の処理において、AuthEnvelopedData コンテナの暗号およびタグ長フィールドに対して十分な入力検証が行われていないため、さまざまな潜在的な脆弱性が発生しています。影響の概要:攻撃者はこれらの脆弱性を悪用して、特定のCMS受信者に対してキー同等の機能性を取得したり、特定のメッセージの整合性検証を回避したりする可能性があります。ある使用例では、攻撃者が非AEAD暗号を指定したAuthEnvelopedDataを含むCMSメッセージを送信可能です。OpenSSLは誤ってこの選択を許可し、メッセージの復号と検証を試みます。中間者攻撃者が被害者宛の正当なAES-GCM AuthEnvelopedDataを捕捉した場合、recipientInfos セットをバイト単位でそのまま再送信できます。そのため、被害者の秘密鍵は本物のCEK(コンテンツ暗号鍵)をアンラップしますが、内部のOIDはAES-256-OFB(出力フィードバックモードの認証されていないキーストリームモード)に書き換えられ、攻撃者が選択したIVおよび暗号文が使用されます。被害者は実際のCEKでAES-256-OFBを初期化し、MACフィールドを参照せず、CMS_decrypt() は成功を返します。攻撃対象のアプリケーションが復号成功または失敗の指標を攻撃者に返す場合、攻撃者はこれをオラクルとして利用し、メッセージの選択された受信者に使用されるCEKのキー同等機能性を取得可能です。別の使用例として、攻撃者は特定のAuthEnvelopedDataコンテナに対して選択したAEAD暗号のタグ長を1バイトに短縮できます。攻撃者はCMS復号を総当たり攻撃で行い、CMS_decrypt()が改変された内容を拒否すると信頼するアプリケーションに対して整合性検証を回避できます。この問題はFIPSモジュールに影響を与えません。

想定される影響 ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年6月9日0:00
登録日 2026年6月16日13:38
最終更新日 2026年6月16日13:38
CVSS3.0 : 緊急
スコア 9.1
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
影響を受けるシステム
OpenSSL Project
OpenSSL 3.0.0 以上 3.0.21 未満
OpenSSL 3.4.0 以上 3.4.6 未満
OpenSSL 3.5.0 以上 3.5.7 未満
OpenSSL 3.6.0 以上 3.6.3 未満
OpenSSL 4.0.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年06月16日]
  掲載
2026年6月16日13:38

NVD脆弱性情報
CVE-2026-34182
概要

Issue Summary: Cryptographic Message Services (CMS) processing fails to perform
sufficient input validation on the cipher and tag length fields of
AuthEnvelopedData containers, leading to various potential compromises.

Impact Summary: Attackers making use of these vulnerabilities may achieve
key-equivalent functionality for a given CMS recipient and/or bypass integrity
validation for a given message.

In one use case, an attacker may send a CMS message containing
AuthEnvelopedData with the cipher specified as a non-AEAD cipher. OpenSSL
erroneously allows this selection, and attempts to decrypt and validate the
message.

An on-path attacker who captures one legitimate AES-GCM AuthEnvelopedData
addressed to the victim can re-emit it with the recipientInfos set left
byte-for-byte intact, so the victim's private key still unwraps the genuine CEK
(the content-encryption key), but with the inner OID rewritten to AES-256-OFB
(Output Feedback Mode, an unauthenticated keystream mode) and with an
attacker-chosen IV and ciphertext. The victim initializes AES-256-OFB under the
real CEK, never consults the MAC field, and CMS_decrypt() returns success.

If the application under attack responds to the attacker with any indicator
showing success or failure of the decryption effort, it is possible for the
attacker to use this as an oracle to obtain key equivalent functionality for the
CEK used for the chosen recipient of the message.

In another use case, an attacker can reduce the tag length of the chosen AEAD
cipher for a given AuthEnvelopedData container to be a single byte long,
allowing an attacker to brute force CMS decryption, producing an integrity
bypass for applications that trust CMS_decrypt() to reject modified content.

The FIPS modules are not affected by this issue.

公表日 2026年6月10日2:17
登録日 2026年6月10日4:16
最終更新日 2026年6月16日3:13
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* 3.0.0 3.0.21
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* 3.4.0 3.4.6
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* 3.5.0 3.5.7
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* 3.6.0 3.6.3
cpe:2.3:a:openssl:openssl:4.0.0:-:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧