PT-2026-47840 · Openssl+5 · Openssl-Fips+6

·

CVE-2026-42770

·

Published

2026-06-09

·

Updated

2026-07-21

CVSS v3.1

3.7

Low

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions OpenSSL FIPS modules versions 3.0, 3.4, 3.5, 3.6, and 4.0
Description When the EVP PKEY derive set peer() function is called with a DHX (X9.42) peer key, the software fails to properly verify subgroup membership. Specifically, the check Y^q ≡ 1 (mod p) is performed using the q parameter provided by the peer instead of the local key's q parameter. While other domain parameters are matched against the private key, the q value is not compared.
This allows a malicious peer to present an X9.42 key with the victim's p and g parameters, a forged q equal to r (a small prime factor of the cofactor (p−1)/q local), and a public value Y of order r. This bypasses checks and results in a shared secret with only r distinct values, leaking the private key modulo r. By repeating this process for each small-prime factor of the cofactor and combining the results via the Chinese Remainder Theorem (CRT), an attacker can recover the full private key. This is known as a Lim–Lee or small-subgroup-confinement attack.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2026:25237
ALSA-2026:25239
CVE-2026-42770
OESA-2026-2891
OESA-2026-3006
OPENSUSE-SU-2026:11023-1
OPENSUSE-SU-2026:21005-1
RHSA-2026:25237
RHSA-2026:25239
SUSE-SU-2026:22100-1
SUSE-SU-2026:22132-1
SUSE-SU-2026:22251-1
SUSE-SU-2026:22315-1
SUSE-SU-2026:2393-1
SUSE-SU-2026:2397-1
SUSE-SU-2026:2598-1
SUSE-SU-2026:2648-1
USN-8414-1

Affected Products

Freebsd
Ibm Aix
Linuxmint
Openssl-Fips
Openssl
Rocky Linux
Ubuntu