{"api_version":"1","generated_at":"2026-05-17T00:21:02+00:00","cve":"CVE-2022-40735","urls":{"html":"https://cve.report/CVE-2022-40735","api":"https://cve.report/api/cve/CVE-2022-40735.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-40735","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-40735"},"summary":{"title":"CVE-2022-40735","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-11-14 23:15:00","updated_at":"2024-01-11 03:15:00"},"problem_types":["CWE-400"],"metrics":[],"references":[{"url":"https://www.researchgate.net/profile/Anton-Stiglic-2/publication/2401745_Security_Issues_in_the_Diffie-Hellman_Key_Agreement_Protocol/links/546c144f0cf20dedafd53e7e/Security-Issues-in-the-Diffie-Hellman-Key-Agreement-Protocol.pdf","name":"https://www.researchgate.net/profile/Anton-Stiglic-2/publication/2401745_Security_Issues_in_the_Diffie-Hellman_Key_Agreement_Protocol/links/546c144f0cf20dedafd53e7e/Security-Issues-in-the-Diffie-Hellman-Key-Agreement-Protocol.pdf","refsource":"MISC","tags":[],"title":"Just a moment...","mime":"application/pdf","httpstatus":"403","archivestatus":"200"},{"url":"https://www.rfc-editor.org/rfc/rfc5114#section-4","name":"https://www.rfc-editor.org/rfc/rfc5114#section-4","refsource":"MISC","tags":[],"title":"RFC 5114: Additional Diffie-Hellman Groups for Use with IETF Standards","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.rfc-editor.org/rfc/rfc4419","name":"https://www.rfc-editor.org/rfc/rfc4419","refsource":"MISC","tags":[],"title":"RFC 4419: Diffie-Hellman Group Exchange for the Secure Shell (SSH) Transport Layer Protocol","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://link.springer.com/content/pdf/10.1007/3-540-68339-9_29.pdf","name":"https://link.springer.com/content/pdf/10.1007/3-540-68339-9_29.pdf","refsource":"MISC","tags":[],"title":"","mime":"application/pdf","httpstatus":"200","archivestatus":"200"},{"url":"https://www.rfc-editor.org/rfc/rfc3526","name":"https://www.rfc-editor.org/rfc/rfc3526","refsource":"MISC","tags":[],"title":"RFC 3526:  More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://dheatattack.gitlab.io/","name":"https://dheatattack.gitlab.io/","refsource":"","tags":[],"title":"D(HE)at Attack | D(HE)at Attack","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://raw.githubusercontent.com/CVEProject/cvelist/9d7fbbcabd3f44cfedc9e8807757d31ece85a2c6/2022/40xxx/CVE-2022-40735.json","name":"https://raw.githubusercontent.com/CVEProject/cvelist/9d7fbbcabd3f44cfedc9e8807757d31ece85a2c6/2022/40xxx/CVE-2022-40735.json","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"404"},{"url":"https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf","name":"https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf","refsource":"MISC","tags":[],"title":"","mime":"application/pdf","httpstatus":"200","archivestatus":"200"},{"url":"https://gist.github.com/c0r0n3r/9455ddcab985c50fd1912eabf26e058b","name":"https://gist.github.com/c0r0n3r/9455ddcab985c50fd1912eabf26e058b","refsource":"MISC","tags":[],"title":"Diffie-Hellman short exponent references · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/mozilla/ssl-config-generator/issues/162","name":"https://github.com/mozilla/ssl-config-generator/issues/162","refsource":"MISC","tags":[],"title":"Stop recommending DHE, because of \"dheater\" vulnerability · Issue #162 · mozilla/ssl-config-generator · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.rfc-editor.org/rfc/rfc7919#section-5.2","name":"https://www.rfc-editor.org/rfc/rfc7919#section-5.2","refsource":"MISC","tags":[],"title":"RFC 7919: Negotiated Finite Field Diffie-Hellman Ephemeral Parameters for Transport Layer Security (TLS)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40735","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40735","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"40735","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"diffie-hellman_key_exchange_project","cpe5":"diffie-hellman_key_exchange","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-40735","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/mozilla/ssl-config-generator/issues/162","refsource":"MISC","name":"https://github.com/mozilla/ssl-config-generator/issues/162"},{"refsource":"MISC","name":"https://gist.github.com/c0r0n3r/9455ddcab985c50fd1912eabf26e058b","url":"https://gist.github.com/c0r0n3r/9455ddcab985c50fd1912eabf26e058b"},{"refsource":"MISC","name":"https://link.springer.com/content/pdf/10.1007/3-540-68339-9_29.pdf","url":"https://link.springer.com/content/pdf/10.1007/3-540-68339-9_29.pdf"},{"refsource":"MISC","name":"https://www.researchgate.net/profile/Anton-Stiglic-2/publication/2401745_Security_Issues_in_the_Diffie-Hellman_Key_Agreement_Protocol/links/546c144f0cf20dedafd53e7e/Security-Issues-in-the-Diffie-Hellman-Key-Agreement-Protocol.pdf","url":"https://www.researchgate.net/profile/Anton-Stiglic-2/publication/2401745_Security_Issues_in_the_Diffie-Hellman_Key_Agreement_Protocol/links/546c144f0cf20dedafd53e7e/Security-Issues-in-the-Diffie-Hellman-Key-Agreement-Protocol.pdf"},{"refsource":"MISC","name":"https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf","url":"https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf"},{"refsource":"MISC","name":"https://www.rfc-editor.org/rfc/rfc4419","url":"https://www.rfc-editor.org/rfc/rfc4419"},{"refsource":"MISC","name":"https://www.rfc-editor.org/rfc/rfc5114#section-4","url":"https://www.rfc-editor.org/rfc/rfc5114#section-4"},{"refsource":"MISC","name":"https://www.rfc-editor.org/rfc/rfc7919#section-5.2","url":"https://www.rfc-editor.org/rfc/rfc7919#section-5.2"},{"refsource":"MISC","name":"https://raw.githubusercontent.com/CVEProject/cvelist/9d7fbbcabd3f44cfedc9e8807757d31ece85a2c6/2022/40xxx/CVE-2022-40735.json","url":"https://raw.githubusercontent.com/CVEProject/cvelist/9d7fbbcabd3f44cfedc9e8807757d31ece85a2c6/2022/40xxx/CVE-2022-40735.json"},{"refsource":"MISC","name":"https://www.rfc-editor.org/rfc/rfc3526","url":"https://www.rfc-editor.org/rfc/rfc3526"}]}},"nvd":{"publishedDate":"2022-11-14 23:15:00","lastModifiedDate":"2024-01-11 03:15:00","problem_types":["CWE-400"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:diffie-hellman_key_exchange_project:diffie-hellman_key_exchange:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}