Menu

Star on GitHub · 3.2k

CVE-2026-42770

3.7 · LOW

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.

Published Jun 9, 2026CWE-325EPSS 0.50%

Overview

CVE-2026-42770 is a low-severity vulnerability. It was published on June 9, 2026 and has a CVSS 3.1 base score of 3.7 (LOW).

This vulnerability has a CVSS 3.1 base score of 3.7, rated LOW. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-42770?

CVE-2026-42770 is a low-severity vulnerability. It was published on June 9, 2026 and has a CVSS 3.1 base score of 3.7 (LOW).

How severe is CVE-2026-42770?

This vulnerability has a CVSS 3.1 base score of 3.7, rated LOW. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-42770?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-42770?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-42770 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related LOW CVEs from 2026

View all