CVE-2026-42770
Description
OpenSSL DHX key exchange vulnerable to private key recovery via subgroup membership check bypass.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
OpenSSL DHX key exchange vulnerable to private key recovery via subgroup membership check bypass.
Vulnerability
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 matched against the domain parameters of the private key, but the value of q is not compared. This affects OpenSSL FIPS modules in versions 4.0, 3.6, 3.5, 3.4, and 3.0 [1].
Exploitation
A malicious peer can present an X9.42 key with the victim's p and g parameters, a forged q (a small prime factor of the cofactor), and a public value Y of order r. This forged key passes the checks, allowing the attacker to recover the victim's private key modulo r after a small number of key exchange attempts. By repeating this for each small-prime factor of the cofactor and combining the results via the Chinese Remainder Theorem (CRT), the attacker can recover the full private key. This is known as a Lim–Lee / small-subgroup-confinement attack [1].
Impact
Successful exploitation allows an attacker to recover the victim's private key. The realistic attack surface is narrow, primarily affecting CMP deployments with long-lived RA/CA DHX keys and bespoke enterprise or government applications using X9.42 DHX static keys with interactive protocols. This issue was assigned a Low severity due to this narrow attack surface [1].
Mitigation
Not yet disclosed in the available references.
AI Insight generated on Jun 9, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: 4.0, 3.6, 3.5, 3.4, and 3.0
Patches
53ddbb7ab50bd5f452bba2c687fbfde7677edca2237ab56153da5a516cd26Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/openssl/security/commit/3da5a516cd2635a320ff748503db2cef7c4b0f02nvd
- github.com/openssl/security/commit/3ddbb7ab50bd93dfc59cbe08e269a67605aeebdbnvd
- github.com/openssl/security/commit/5f452bba2c681423d8fcffd120a19b757ee42e3cnvd
- github.com/openssl/security/commit/7fbfde7677ed8808828bf00ff01c937ca04bdda2nvd
- github.com/openssl/security/commit/ca2237ab5615641b662183b077f62c08d75e8070nvd
- openssl-library.org/news/secadv/20260609.txtnvd
News mentions
1- OpenSSL Project: 18 Vulnerabilities Disclosed Together on June 9, 2026Vypr Intelligence · Jun 9, 2026