D(HE)at: cheap clients force expensive server-side DHE exponentiations
Szilárd Pfeiffer and Norbert Tihanyi described a denial-of-service attack where a client claims to support only finite-field DHE, ideally at the server's largest group, and sends garbage instead of a real public key. The server still performs costly modular exponentiations, so a little client CPU and bandwidth ties up much more server CPU. It was assigned CVE-2002-20001 (published November 2021), with follow-ups CVE-2022-40735 (needlessly long exponents) and CVE-2024-41996 (needless public-key order checks with safe primes in OpenSSL).
Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.
Background
This is an availability problem, not a confidentiality break: no keys or traffic are exposed. It exploits the fact that finite-field DH at 4096 to 8192 bits is far more expensive than ECDH, and that some libraries use exponents much longer than the security level requires. The unusual CVE year reflects that the underlying issue was known long before; the CVE record cites an early paper on Diffie-Hellman security issues.
Mitigations are to prefer ECDHE, disable or limit large FFDHE groups, use short exponents where safe, and rate-limit handshakes. The research appeared in IEEE Access (2024). OpenSSH 10.0's April 2025 decision to drop modp DH from sshd's defaults cites its cost.
Sources
- cveCVE-2002-20001MITRE, cve.org
- paperD(HE)at: A Practical Denial-of-Service Attack on the Finite Field Diffie-Hellman Key Exchange (IEEE Access)IEEE, doi.org
- codedheater proof-of-concept toolGitHub / Balasys, github.com
- blogD(HE)at attack detailsdheatattack.com, dheatattack.com