Has it been Pwned
ProtocolPractical impact

Logjam: TLS downgrade to export-grade 512-bit DH, plus the 1024-bit precomputation warning

Adrian et al. ("Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice", ACM CCS 2015, best paper) showed that a man-in-the-middle could rewrite a TLS ClientHello to request DHE_EXPORT and trick the client into accepting 512-bit DH parameters as if they were normal DHE. After a week-long number field sieve precomputation per prime, individual 512-bit logs took a median of about 70 seconds, fast enough to break handshakes live. Two 512-bit primes covered 92% of export-supporting servers, exposing about 7-8% of Alexa Top 1M HTTPS sites.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

Logjam combined three things: a 1990s export cipher suite nobody had removed, a TLS 1.2 design flaw (the server's DH parameters were signed without binding which cipher suite was negotiated, CVE-2015-4000), and the fact that NFS precomputation depends only on the prime, so a handful of widely shared groups gives an attacker enormous leverage. The authors then extrapolated: a 1024-bit precomputation costs roughly 45 million core-years in software, plausibly within a nation-state budget with custom hardware. Breaking the single most common 1024-bit prime would allow passive decryption of about 18% of top HTTPS sites, and a second (Oakley Group 2) about 66% of IPsec VPNs and 26% of SSH servers. They argued that published Snowden documents on NSA VPN decryption were consistent with such a break, a hypothesis that remains unconfirmed.

Logjam is a protocol and deployment failure, not a weakness in DH. Correctly negotiated 2048-bit groups were never at risk. Responses included browsers rejecting groups under 1024 bits, OpenSSH 7.0 disabling the 1024-bit diffie-hellman-group1-sha1 by default (August 2015), RFC 7919 negotiated FFDHE groups (2016), and in July 2026 RFC 10015 banning FFDHE cipher suites in TLS 1.2 outright.

Sources

  1. paperImperfect Forward Secrecy: How Diffie-Hellman Fails in Practice (ACM CCS 2015)weakdh.org / ACM, weakdh.org
  2. announcementWeak Diffie-Hellman and the Logjam Attackweakdh.org, weakdh.org
  3. cveCVE-2015-4000MITRE, cve.org
  4. newsThe Logjam (and Another) Vulnerability against Diffie-Hellman Key ExchangeLawfare, lawfaremedia.org