Cyber Resilience

CVE-2026-42770

Openssl 3.0.0 – 3.0.21

Published
09 June 2026
Modified
20 July 2026
Patch / advisory
CVSS Score v3.1 3.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0047 39th percentile
Risk Priority 33 floored blend · peak EPSS

Summary

CVE-2026-42770 is a low-severity Missing Cryptographic Step (CWE-325) vulnerability in Openssl Openssl. Its CVSS base score is 3.7 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Weaken Encryption (T1600); ranked at the 39th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-13 (Cryptographic Protection) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-42770 is an improper input validation flaw in OpenSSL's handling of Diffie-Hellman X9.42 (DHX) keys. When EVP_PKEY_derive_set_peer() receives a peer key, the subgroup membership check Y^q ≡ 1 (mod p) is performed using the peer-supplied q value rather than the local key's q, and the subsequent domain-parameter match does not compare q at all. The issue affects the FIPS modules in OpenSSL 4.0, 3.6, 3.5, 3.4, and 3.0 and is tracked under CWE-325 with a CVSS 3.1 score of 3.7.

An attacker who can supply a DHX peer key to a victim performing key derivation can present a malicious X9.42 structure containing the victim's p and g, a forged small-prime q = r drawn from the cofactor, and a public value Y of order r. This passes all validation checks, after which the shared secret is confined to only r possible values and leaks the victim's private key modulo r. Repeating the exchange for each small prime factor of the cofactor and combining results via the Chinese Remainder Theorem recovers the full private key after a modest number of interactions.

The realistic attack surface is described as narrow and primarily limited to CMP deployments that use long-lived RA/CA DHX keys or bespoke enterprise and government applications employing static X9.42 keys in interactive protocols; the issue was therefore rated low severity. Public references consist of five OpenSSL commits that implement the corrective subgroup checks and parameter validation. The current EPSS remains at 0.0001 with no material increase observed.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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,…

more

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, 3.1.2 and 3.0 are affected by this issue.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1600 Weaken Encryption Defense Impairment
Adversaries may compromise a network device’s encryption capability in order to bypass encryption that would otherwise protect data communications.
T1600.001 Reduce Key Space Defense Impairment
Adversaries may reduce the level of effort required to decrypt data transmitted over the network by reducing the cipher strength of encrypted communications.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-45445Same product: Openssl Openssl
CVE-2025-69418Same product: Openssl Openssl
CVE-2026-45446Same product: Openssl Openssl
CVE-2026-9076Same product: Openssl Openssl
CVE-2026-28387Same product: Openssl Openssl
CVE-2024-0727Same product: Openssl Openssl
CVE-2026-34182Same product: Openssl Openssl
CVE-2025-69420Same product: Openssl Openssl
CVE-2026-31789Same product: Openssl Openssl
CVE-2026-31790Same product: Openssl Openssl

Affected Assets

openssl
openssl
4.0.0 · 3.0.0 — 3.0.21 · 3.4.0 — 3.4.6 · 3.5.0 — 3.5.7

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 14 hardening rules · 6 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

Requires selection and implementation of specific approved cryptographic algorithms and methods, reducing the chance that an incomplete algorithm is used.

Mandates developer testing and evaluation that can uncover missing cryptographic steps through functional and penetration testing.

Requires documented development standards and processes that include correct cryptographic algorithm implementation.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices explicitly include correct cryptographic algorithm implementation and testing.

PR.DS-01 partial match
prevents

Proper encryption of data-at-rest requires all algorithm steps; omitting one directly weakens the control.

PR.DS-02 partial match
prevents

Proper encryption of data-in-transit requires all algorithm steps; omitting one directly weakens the control.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect incomplete crypto implementations but does not itself enforce correct algorithm steps.

degrades

Mandates correct use of cryptographic controls, directly preventing omission of required algorithm steps.

prevents

Secure SDLC processes reduce the likelihood of missing crypto steps but do not guarantee algorithm completeness.

prevents

Requires secure coding practices that would catch missing cryptographic steps during development.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (2 rules)
  • V-248524 OL 8 must implement NIST FIPS-validated cryptography for the following: To provision digital signatures, to generate cryptographic hashes, and to protect data requiring data-at-rest protections in accordance with applicable federal laws, Executive Orders, directives, policies, regulations, and standards. prevents CWE-325
  • V-248535 The OL 8 shadow password suite must be configured to use a sufficient number of hashing rounds. prevents CWE-325
Oracle Linux 9 (1 rule)
  • V-271454 OL 9 must enable FIPS mode. prevents CWE-325
RHEL 7 (1 rule)
  • V-204497 The Red Hat Enterprise Linux operating system must implement NIST FIPS-validated cryptography for the following: to provision digital signatures, to generate cryptographic hashes, and to protect data requiring data-at-rest protections in accordance with applicable federal laws, Executive Orders, directives, policies, regulations, and standards. prevents CWE-325
RHEL 8 (1 rule)
  • V-230223 RHEL 8 must implement NIST FIPS-validated cryptography for the following: To provision digital signatures, to generate cryptographic hashes, and to protect data requiring data-at-rest protections in accordance with applicable federal laws, Executive Orders, directives, policies, regulations, and standards. prevents CWE-325
Ubuntu 22.04 (1 rule)
  • V-260650 Ubuntu 22.04 LTS must implement NIST FIPS-validated cryptography to protect classified information and for the following: To provision digital signatures, to generate cryptographic hashes, and to protect unclassified information requiring confidentiality and cryptographic protection in accordance with applicable federal laws, Executive Orders, directives, policies, regulations, and standards. prevents CWE-325
Ubuntu 24.04 (1 rule)
  • V-270744 Ubuntu 24.04 LTS must implement NIST FIPS-validated cryptography to protect classified information and for the following: To provision digital signatures, to generate cryptographic hashes, and to protect unclassified information requiring confidentiality and cryptographic protection in accordance with applicable federal laws, Executive Orders, directives, policies, regulations, and standards. prevents CWE-325

References