OpenSSL ProjectのOpenSSLにおける暗号化処理の不備に関する脆弱性
タイトル OpenSSL ProjectのOpenSSLにおける暗号化処理の不備に関する脆弱性
概要

問題の概要: EVP_PKEY_derive_set_peer() が DHX (X9.42) ピアキーで呼び出された場合、ピアキーの部分群メンバーシップの検証が適切に行われません。影響の概要: 攻撃者が X9.42 キーに被害者の p および g パラメータ、偽造された q = r (コファクター (p−1)/q_local の小さな素因数)、および階数 r の公開値 Y を提示すると、少数の鍵交換試行で被害者の秘密鍵を回復できます。EVP_PKEY_derive_set_peer() は DHX (X9.42) ピアキーで呼ばれた場合、部分群メンバーシップ検査 Y^q ≡ 1 (mod p) にピア自身の q パラメータを使用し、ローカル鍵の q は使用しません。ピアのドメインパラメータは秘密鍵のドメインパラメータと照合されますが、q の値は比較されません。攻撃者が被害者の p、g、偽造された q = r、小さな素因数であるコファクター、階数 r の公開値 Y を含む X9.42 キーを提示すると、すべての検査を通過します。共有秘密は r 個の異なる値しか持たず、priv mod r が漏洩します。コファクターの小さな素因数それぞれについてこれを繰り返し、中国剰余定理(CRT)により完全な秘密鍵を回復できます(Lim-Lee / 小部分群閉じ込め攻撃)。現実的な攻撃対象は狭い範囲に限られ、主に長寿命の RA/CA DHX 鍵を持つ CMP の導入および X9.42 DHX 静的鍵を用いた対話的プロトコルにおける企業または政府のカスタムアプリケーションに限定されるため、重大度は低に分類されました。FIPS モジュールのバージョン 4.0、3.6、3.5、3.4、および 3.0 がこの問題の影響を受けます。

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

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

公表日 2026年6月9日0:00
登録日 2026年6月17日15:46
最終更新日 2026年6月17日15:46
CVSS3.0 : 低
スコア 3.7
ベクター CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/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月17日]
  掲載
2026年6月17日15:46

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

Issue summary: When EVP_PKEY_derive_set_peer() is called with a DHX (X9.42)
peer key, the peer key is not properly checked for the subgroup membership.

Impact summary: A malicious peer which presents an X9.42 key carrying the
victim's p and g parameters, a forged q = r (a small prime factor of the
cofactor (p−1)/q_local), and a public value Y of order r can recover the
victim's private key after a small number of key exchange attempts.

When EVP_PKEY_derive_set_peer() is called with a DHX (X9.42) peer key, the
subgroup membership check Y^q ≡ 1 (mod p) is performed using the peer's
own q parameter, not the local key's q. The peer's domain parameters are
then matched against the domain parameters of the private key, but the value
of q is not compared.

A malicious peer who presents an X9.42 key carrying the victim's p, g,
a forged q = r (a small prime factor of the cofactor), and a public
value Y of order r passes all checks. The shared secret then takes only
r distinct values, leaking priv mod r. Repeating for each small-prime
factor of the cofactor and combining via CRT recovers the full private
key (Lim–Lee / small-subgroup-confinement attack).

The realistic attack surface is narrow: principally CMP deployments with
long-lived RA/CA DHX keys and bespoke enterprise or government applications
using X9.42 DHX static keys with interactive protocols and therefore this
issue was assigned Low severity.

The FIPS modules in 4.0, 3.6, 3.5, 3.4, and 3.0 are affected by this
issue.

公表日 2026年6月10日2:17
登録日 2026年6月10日4:17
最終更新日 2026年6月16日11:58
影響を受けるソフトウェアの構成
構成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:-:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧