CVE-2022-40735 json
The Diffie-Hellman Key Agreement Protocol allows use of long exponents that arguably make certain calculations unnecessarily expensive, bec…
published 2022-11-14 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-44003
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- openssl Ubuntu 22.04 LTS 3.0.2-0ubuntu1.16
- openssl Ubuntu Pro FIPS-updates 22.04 LTS 3.0.2-0ubuntu1.16+Fips1
ubuntu advisories UBUNTU-CVE-2022-40735
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssl-3 SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 3.0.8-150400.4.26.1
suse advisories SUSE-SU-2023:2470-1
Exploit prediction
2.63% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/mozilla/ssl-config-generator/issues/162
issue-tracking, third-party-advisory
-
gist.github.com
/c0r0n3r/9455ddcab985c50fd1912eabf26e058b
third-party-advisory
-
link.springer.com
/content/pdf/10.1007/3-540-68339-9_29.pdf
technical-description, third-party-advisory
-
researchgate.net
/profile/Anton-Stiglic-2/publication/2401745_Security_Issues_in_the_Diffie-Hellman_Key_Agreement_Protocol/link
technical-description, third-party-advisory
-
nvlpubs.nist.gov
/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf
technical-description, third-party-advisory, us-government-resource
- rfc-editor.org /rfc/rfc4419
- rfc-editor.org /rfc/rfc5114#section-4
- rfc-editor.org /rfc/rfc7919#section-5.2
- raw.githubusercontent.com /CVEProject/cvelist/9d7fbbcabd3f44cfedc9e8807757d31ece85a2c6/2022/40xxx/CVE-2022-40735.json
- rfc-editor.org /rfc/rfc3526
- dheatattack.gitlab.io /
- ieeexplore.ieee.org /document/10374117
Sources
- CVE List CVE-2022-40735
- NVD CVE-2022-40735
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.