7.5

CVE-2022-40735: diffie-hellman_key_exchange_project diffie-hellman_key_exchange Uncontrolled Resource Consumption

Modified
AliasesUBUNTU-CVE-2022-40735USN-6854-1
Published 14-11-2022Last modified 03-08-2024

Vulnerability summary

CVE-2022-40735 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in diffie-hellman_key_exchange_project diffie-hellman_key_exchange. EPSS estimates a 2.63% chance of exploitation in the next 30 days, higher than 85.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.63%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 14-11-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

The Diffie-Hellman Key Agreement Protocol allows use of long exponents that arguably make certain calculations unnecessarily expensive, because the 1996 van Oorschot and Wiener paper found that "(appropriately) short exponents" can be used when there are adequate subgroup constraints, and these short exponents can lead to less expensive calculations than for long exponents. This issue is different from CVE-2002-20001 because it is based on an observation about exponent size, rather than an observation about numbers that are not public keys. The specific situations in which calculation expense would constitute a server-side vulnerability depend on the protocol (e.g., TLS, SSH, or IKE) and the DHE implementation details. In general, there might be an availability concern because of server-side resource consumption from DHE modular-exponentiation calculations. Finally, it is possible for an attacker to exploit this vulnerability and CVE-2002-20001 together.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

2.63%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

Increase +0.12 pp

From 2.51% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu2 products
  • nodejsAll versions (No fix recorded)
  • opensslAll versions (No fix recorded) | < 3.0.2-0ubuntu1.16+Fips1 | < 3.0.2-0ubuntu1.16
Diffie-hellman_key_exchange_project1 product

2 vendors · 3 products

References

16 links
Show all 16 references