CVE-2026-42770
Openssl 3.0.0 – 3.0.21
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-42770 is a low-severity Missing Cryptographic Step (CWE-325) vulnerability in Openssl. Its CVSS base score is 3.7 (Low).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 11th 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
- 🇪🇺 ENISA EUVD: EUVD-2026-35487
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
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 14 hardening rules · 6 OS baselines
—
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
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)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices explicitly include correct cryptographic algorithm implementation and testing.
Proper encryption of data-at-rest requires all algorithm steps; omitting one directly weakens the control.
Proper encryption of data-in-transit requires all algorithm steps; omitting one directly weakens the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect incomplete crypto implementations but does not itself enforce correct algorithm steps.
Training addresses the 'mistaken impression that the step is unnecessary' mode of introduction (a knowledge gap) but does not reach the deliberate performance-driven omission, and is fallible in practice -- consistent with the A.8.28 -> CWE-502 and A.6.3 -> CWE-598 anchors where training moves a minority of developer-introduced defects.
A.8.24 specifies approved cryptographic algorithms, standards and usage practices, so where developers follow the policy and use approved complete implementations the missing step does not arise; but the weakness is fundamentally an implementation defect (omitting a step for performance or by misunderstanding), and a policy clause does not directly review or test code, leaving a nameable remainder in custom implementations.
Requires secure coding practices that would catch missing cryptographic steps during development.
A.8.30 carries its preventive effect through the contractual requirements it places on the supplier for secure design, coding and testing practices (8.25–8.29), so it reduces ordinary software implementation weaknesses in delivered code the way those practices do — and CWE-325, a missing cryptographic step introduced at implementation or requirements, is the kind of defect those practices catch. The owner has already ruled this same mechanism `partial` against CWE-134, and the dependence on the supplier actually implementing 8.25–8.29 caps the rung identically here.
A.8.8's reach is DISCLOSURE — it finds only instances that carry a vendor-published flaw. CWE-325 does surface as CVEs (e.g., CVE-2001-1585), so the disclosed share is non-zero, but the bulk of missing-crypto-step instances are in first-party code that never receives a CVE, which A.8.8's scanning and advisory-monitoring programme does not reach.
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 our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
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. blocks CWE-325
- V-248535 The OL 8 shadow password suite must be configured to use a sufficient number of hashing rounds. blocks CWE-325
Oracle Linux 9 (1 rule)
- V-271454 OL 9 must enable FIPS mode. blocks CWE-325
RHEL 7 (1 partial 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. blocks 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. blocks 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. blocks 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. blocks CWE-325