encyclopegia.org

Logjam (computer security)

Logjam is a security vulnerability in systems that use Diffie–Hellman key exchange with the same prime number. It was discovered by a team of computer scientists and publicly reported on May 20, 2015. The discoverers were able to demonstrate their attack on 512-bit (US export-grade) DH systems. They estimated that a state-level attacker could do so for 1024-bit systems, then widely used, thereby allowing decryption of a significant fraction of Internet traffic. They recommended upgrading to at least 2048 bits for shared prime systems.

Logjam is a security vulnerability in systems that use Diffie–Hellman key exchange with the same prime number. It was discovered by a team of computer scientists and publicly reported on May 20, 2015. The discoverers were able to demonstrate their attack on 512-bit (US export-grade) DH systems. They estimated that a state-level attacker could do so for 1024-bit systems, then widely used, thereby allowing decryption of a significant fraction of Internet traffic. They recommended upgrading to at least 2048 bits for shared prime systems. ==Details== Diffie–Hellman key exchange depends for its security on the presumed difficulty of solving the discrete logarithm problem. The authors took advantage of the fact that the number field sieve algorithm, which is generally the most effective method for finding discrete logarithms, consists of four large computational steps, of which the first three depend only on the order of the group G, not on the specific number whose finite log is desired. If the results of the first three steps are precomputed and saved, they can be used to solve any discrete log problem for that prime group in relatively short time. This vulnerability was known as early as 1992. It turns out that much Internet traffic only uses one of a handful of groups that are of order 1024 bits or less. One approach enabled by this vulnerability that the authors demonstrated was using a man-in-the-middle network attacker to downgrade a Transport Layer Security (TLS) connection to use 512-bit DH export-grade cryptography, allowing them to read the exchanged data and inject data into the connection. It affects the HTTPS, SMTPS, and IMAPS protocols, among others. The authors needed several thousand CPU cores for a week to precompute data for a single 512-bit prime. Once that was done, however, individual logarithms could be solved in about a minute using two 18-core Intel Xeon CPUs. Its CVE ID is . The authors also estimated the feasibility of the attack against 1024-bit Diffie–Hellman primes. By design, many Diffie–Hellman implementations use the same pre-generated prime for their field. This was considered secure, since the discrete logarithm problem is still considered hard for big enough primes even if the group is known and reused. The researchers calculated the cost of creating logjam precomputation for one 1024-bit prime at hundreds of millions of USD, and noted that this was well within range of the FY2012 $10.5 billion U.S. Consolidated Cryptologic Program (which includes NSA). Because of the reuse of primes, generating precomputation for just one prime would break two-thirds of VPNs and a quarter of all SSH servers globally. The researchers noted that this attack fits claims in leaked NSA papers that NSA is able to break much current cryptography. They recommend using primes of 2048 bits or more as a defense or switching to elliptic-curve Diffie–Hellman (ECDH). Claims on the practical implications of the attack were however disputed by security researchers Eyal Ronen and Adi Shamir in their paper "Critical Review of Imperfect Forward Secrecy". ==External links== The Logjam Attack NSA in P/poly: The Power of Precomputation-Shtetl Optimizedl

References

  1. Tor Browser 4.5.2 is released · retrieved 2015-06-19 · rev 1279897055
    Cite this reference

    MLA "Tor Browser 4.5.2 is released." Perry, Mike (2015-06-16). 2015-06-19. https://blog.torproject.org/blog/tor-browser-452-released. Accessed 24 November 2026.

    Chicago "Tor Browser 4.5.2 is released." Perry, Mike (2015-06-16). 2015-06-19. https://blog.torproject.org/blog/tor-browser-452-released.

    APA Perry, Mike (2015-06-16). (2015). Tor Browser 4.5.2 is released. Retrieved November 24, 2026, from https://blog.torproject.org/blog/tor-browser-452-released

  2. About the security content of OS X Yosemite v10.10.4 and Security Update 2015-005 · retrieved 2026-11-17 · rev 1279897055
    Cite this reference

    MLA "About the security content of OS X Yosemite v10.10.4 and Security Update 2015-005." "About the security content of OS X Yosemite v10. 2026-11-17. https://support.apple.com/HT204942. Accessed 24 November 2026.

    Chicago "About the security content of OS X Yosemite v10.10.4 and Security Update 2015-005." "About the security content of OS X Yosemite v10. 2026-11-17. https://support.apple.com/HT204942.

    APA "About the security content of OS X Yosemite v10. (2026). About the security content of OS X Yosemite v10.10.4 and Security Update 2015-005. Retrieved November 24, 2026, from https://support.apple.com/HT204942

  3. About the security content of iOS 8.4 · retrieved 2026-11-17 · rev 1279897055
    Cite this reference

    MLA "About the security content of iOS 8.4." "About the security content of iOS 8. 2026-11-17. https://support.apple.com/HT204941. Accessed 24 November 2026.

    Chicago "About the security content of iOS 8.4." "About the security content of iOS 8. 2026-11-17. https://support.apple.com/HT204941.

    APA "About the security content of iOS 8. (2026). About the security content of iOS 8.4. Retrieved November 24, 2026, from https://support.apple.com/HT204941

  4. Mozilla Foundation Security Advisory 2015-70 - NSS accepts export-length DHE keys with regular DHE cipher suites · retrieved 2015-07-03 · rev 1279897055
    Cite this reference

    MLA "Mozilla Foundation Security Advisory 2015-70 - NSS accepts export-length DHE keys with regular DHE cipher suites." 2015-07-03. https://www.mozilla.org/en-US/security/advisories/mfsa2015-70/. Accessed 24 November 2026.

    Chicago "Mozilla Foundation Security Advisory 2015-70 - NSS accepts export-length DHE keys with regular DHE cipher suites." 2015-07-03. https://www.mozilla.org/en-US/security/advisories/mfsa2015-70/.

    APA encyclopegia.org. (2015). Mozilla Foundation Security Advisory 2015-70 - NSS accepts export-length DHE keys with regular DHE cipher suites. Retrieved November 24, 2026, from https://www.mozilla.org/en-US/security/advisories/mfsa2015-70/

  5. Stable Channel Updates · retrieved 2015-11-05 · rev 1279897055
    Cite this reference

    MLA "Stable Channel Updates." Zhi, Vivian (2015-09-01). 2015-11-05. http://googlechromereleases.blogspot.com/2015/09/stable-channel-update.html. Accessed 24 November 2026.

    Chicago "Stable Channel Updates." Zhi, Vivian (2015-09-01). 2015-11-05. http://googlechromereleases.blogspot.com/2015/09/stable-channel-update.html.

    APA Zhi, Vivian (2015-09-01). (2015). Stable Channel Updates. Retrieved November 24, 2026, from http://googlechromereleases.blogspot.com/2015/09/stable-channel-update.html

  6. HTTPS-crippling attack threatens tens of thousands of Web and mail servers · retrieved 2022-04-29 · rev 1279897055
    Cite this reference

    MLA "HTTPS-crippling attack threatens tens of thousands of Web and mail servers." Dan Goodin (2015-05-20). 2022-04-29. https://arstechnica.com/security/2015/05/https-crippling-attack-threatens-tens-of-thousands-of-web-and-mail-servers/. Accessed 24 November 2026.

    Chicago "HTTPS-crippling attack threatens tens of thousands of Web and mail servers." Dan Goodin (2015-05-20). 2022-04-29. https://arstechnica.com/security/2015/05/https-crippling-attack-threatens-tens-of-thousands-of-web-and-mail-servers/.

    APA Dan Goodin (2015-05-20). (2022). HTTPS-crippling attack threatens tens of thousands of Web and mail servers. Retrieved November 24, 2026, from https://arstechnica.com/security/2015/05/https-crippling-attack-threatens-tens-of-thousands-of-web-and-mail-servers/

  7. Logjam security flaw leaves top HTTPS websites, mail servers vulnerable · retrieved 2015-05-22 · rev 1279897055
    Cite this reference

    MLA "Logjam security flaw leaves top HTTPS websites, mail servers vulnerable." Charlie Osborne (2015-05-20). 2015-05-22. https://www.zdnet.com/article/logjam-security-flaw-leaves-tens-of-thousands-of-https-websites-vulnerable/. Accessed 24 November 2026.

    Chicago "Logjam security flaw leaves top HTTPS websites, mail servers vulnerable." Charlie Osborne (2015-05-20). 2015-05-22. https://www.zdnet.com/article/logjam-security-flaw-leaves-tens-of-thousands-of-https-websites-vulnerable/.

    APA Charlie Osborne (2015-05-20). (2015). Logjam security flaw leaves top HTTPS websites, mail servers vulnerable. Retrieved November 24, 2026, from https://www.zdnet.com/article/logjam-security-flaw-leaves-tens-of-thousands-of-https-websites-vulnerable/

  8. New Computer Bug Exposes Broad Security Flaws · retrieved 2022-04-29 · rev 1279897055
    Cite this reference

    MLA "New Computer Bug Exposes Broad Security Flaws." Valentino-DeVries, Jennifer (2015-05-19). 2022-04-29. https://www.wsj.com/articles/new-computer-bug-exposes-broad-security-flaws-1432076565. Accessed 24 November 2026.

    Chicago "New Computer Bug Exposes Broad Security Flaws." Valentino-DeVries, Jennifer (2015-05-19). 2022-04-29. https://www.wsj.com/articles/new-computer-bug-exposes-broad-security-flaws-1432076565.

    APA Valentino-DeVries, Jennifer (2015-05-19). (2022). New Computer Bug Exposes Broad Security Flaws. Retrieved November 24, 2026, from https://www.wsj.com/articles/new-computer-bug-exposes-broad-security-flaws-1432076565

  9. Authentication and Authenticated Key Exchanges · retrieved 2026-11-17 · rev 1279897055
    Cite this reference

    MLA "Authentication and Authenticated Key Exchanges." Whitfield Diffie, Paul C. 2026-11-17. https://patents.google.com/patent/US5724425. Accessed 24 November 2026.

    Chicago "Authentication and Authenticated Key Exchanges." Whitfield Diffie, Paul C. 2026-11-17. https://patents.google.com/patent/US5724425.

    APA Whitfield Diffie, Paul C. (2026). Authentication and Authenticated Key Exchanges. Retrieved November 24, 2026, from https://patents.google.com/patent/US5724425

  10. Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice · retrieved 2015-05-22 · rev 1279897055
    Cite this reference

    MLA "Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice." Adrian, David; Bhargavan, Karthikeyan; Durumeric, Zakir; Gaudry, Pierrick; Green, Matthew; Halderman, J. 2015-05-22. https://en.wikipedia.org/wiki/Nadia_Heninger. Accessed 24 November 2026.

    Chicago "Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice." Adrian, David; Bhargavan, Karthikeyan; Durumeric, Zakir; Gaudry, Pierrick; Green, Matthew; Halderman, J. 2015-05-22. https://en.wikipedia.org/wiki/Nadia_Heninger.

    APA Adrian, David; Bhargavan, Karthikeyan; Durumeric, Zakir; Gaudry, Pierrick; Green, Matthew; Halderman, J. (2015). Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Nadia_Heninger

  11. Critical Review of Imperfect Forward Secrecy · retrieved 2022-04-29 · rev 1279897055
    Cite this reference

    MLA "Critical Review of Imperfect Forward Secrecy." Ronen, Eyal; Shamir, Adi (October 2015). 2022-04-29. http://www.wisdom.weizmann.ac.il/~eyalro/RonenShamirDhReview.pdf. Accessed 24 November 2026.

    Chicago "Critical Review of Imperfect Forward Secrecy." Ronen, Eyal; Shamir, Adi (October 2015). 2022-04-29. http://www.wisdom.weizmann.ac.il/~eyalro/RonenShamirDhReview.pdf.

    APA Ronen, Eyal; Shamir, Adi (October 2015). (2022). Critical Review of Imperfect Forward Secrecy. Retrieved November 24, 2026, from http://www.wisdom.weizmann.ac.il/~eyalro/RonenShamirDhReview.pdf

  12. Microsoft Security Bulletin MS15-055. Vulnerability in Schannel Could Allow Information Disclosure (3061518) · retrieved 2015-07-01 · rev 1279897055
    Cite this reference

    MLA "Microsoft Security Bulletin MS15-055. Vulnerability in Schannel Could Allow Information Disclosure (3061518)." "Microsoft Security Bulletin MS15-055. 2015-07-01. https://technet.microsoft.com/en-us/library/security/ms15-055.aspx. Accessed 24 November 2026.

    Chicago "Microsoft Security Bulletin MS15-055. Vulnerability in Schannel Could Allow Information Disclosure (3061518)." "Microsoft Security Bulletin MS15-055. 2015-07-01. https://technet.microsoft.com/en-us/library/security/ms15-055.aspx.

    APA "Microsoft Security Bulletin MS15-055. (2015). Microsoft Security Bulletin MS15-055. Vulnerability in Schannel Could Allow Information Disclosure (3061518). Retrieved November 24, 2026, from https://technet.microsoft.com/en-us/library/security/ms15-055.aspx

  13. CVE-2015-4000 · retrieved 2015-06-15 · rev 1279897055
    Cite this reference

    MLA "CVE-2015-4000." 2015-06-15. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4000. Accessed 24 November 2026.

    Chicago "CVE-2015-4000." 2015-06-15. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4000.

    APA encyclopegia.org. (2015). CVE-2015-4000. Retrieved November 24, 2026, from https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4000

  14. The Logjam Attack · retrieved 2015-05-19 · rev 1279897055
    Cite this reference

    MLA "The Logjam Attack." a b "The Logjam Attack". 2015-05-19. https://weakdh.org. Accessed 24 November 2026.

    Chicago "The Logjam Attack." a b "The Logjam Attack". 2015-05-19. https://weakdh.org.

    APA a b "The Logjam Attack". (2015). The Logjam Attack. Retrieved November 24, 2026, from https://weakdh.org

Cite this article

MLA

"Logjam (computer security)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/logjam-computer-security. Accessed 24 November 2026.

Chicago

"Logjam (computer security)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/logjam-computer-security.

APA

encyclopegia.org. (2025). Logjam (computer security). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/logjam-computer-security

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

computer

stub · references available

computer mouse

stub · references available

IBM Personal Computer XT

stub · references available

security clearance

stub · references available

chemical computer

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1279897055 · 0.5 · snapshot enwiki-001279897055

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.