Is Diffie-Hellman key exchange quantum safe?

The sources listed on this page treat finite-field Diffie-Hellman key exchange as dependent on public-key algorithms scheduled for replacement, with migration dates set by NIST IR 8547 and related guidance.

On this page

Is Diffie-Hellman key exchange quantum safe? What NIST and the BSI have published

If your TLS or key-agreement setup depends on finite-field Diffie-Hellman, the published position is that it will have to change. NIST SP 800-56A Revision 3 specifies discrete-logarithm key establishment over finite fields and elliptic curves, and NIST IR 8547 (final, 27 October 2026) treats these quantum-vulnerable schemes as scheduled for deprecation. The German BSI's technical guideline TR-02102-1 (version 2026-01) calls for quantum-safe key agreement. This matters most to the engineers and security leads who own TLS termination, VPN and key-exchange configuration, and to the compliance teams who must show a migration path to auditors and federal customers.

The practical starting point is an inventory. Identify every place where finite-field Diffie-Hellman is negotiated, including TLS servers and clients, VPN gateways, and application-level key agreement. The IETF's RFC 7919 defines named finite-field groups (ffdhe2048 through ffdhe8192) and their negotiation through the Supported Groups extension in TLS 1.0 through 1.2. Those named groups increase classical strength but do not change the published position that the underlying discrete-logarithm scheme is scheduled for replacement. Confirm which group sizes your products actually negotiate, since the sources listed here do not say how each vendor's defaults behave.

NIST's news release says NIST IR 8547 covers the harvest now, decrypt later threat, recommends prioritizing migration for long-lived or highly sensitive data, and describes hybrid approaches that combine conventional and post-quantum encryption. The BSI notes that store now, decrypt later mainly affects key-agreement schemes rather than signatures, which is why key exchange tends to be the first item in a migration plan. NIST's project page sets 2035 for removing quantum-vulnerable algorithms from its standards, with high-risk systems moving earlier. Ask your vendors for their post-quantum key-agreement roadmap and whether it is offered as a hybrid option, and confirm the timeline against the standards themselves.

What each body has published on Diffie-Hellman key exchange

This table lists each source's stated position on finite-field key exchange, along with the dates it sets. Read the second column for what the document says about Diffie-Hellman and the third column for the dates or deadlines it gives. The main takeaway is that NIST's transition timeline, not a single quantum attack result, is the reference point to plan against.

SourceWhat it says about finite-field key exchangeDates it sets
NIST SP 800-56A Rev. 3Specifies key-establishment schemes based on the discrete logarithm problem over finite fields and elliptic curves, including Diffie-Hellman variants.Final April 2018. Planning note dated 6 January 2026 says NIST has decided to update it.
NIST IR 8547 (draft)Initial public draft on the transition to post-quantum standards, identifying quantum-vulnerable standards that products will need to move away from.Published 12 November 2024. Comment period closed 10 January 2025.
NIST IR 8547 (final)Final report identifying existing quantum-vulnerable standards and the quantum-resistant standards products and services will need to adopt.Published 27 October 2026. Obsoletes the draft on the same date.
NIST post-quantum project pageStates that quantum-vulnerable algorithms will be deprecated and ultimately removed from NIST standards, with high-risk systems transitioning earlier.Removal of quantum-vulnerable algorithms by 2035.
NIST news releaseCovers the harvest now, decrypt later threat, suggests prioritizing long-lived or sensitive data, and describes hybrid conventional and post-quantum approaches.October 2026. Executive Order 14412 targets key establishment migration by 2030 for high-value and high-impact federal systems.
BSI quantum technologies pageSays quantum computers threaten public-key cryptography and that store now, decrypt later mainly affects key-agreement schemes.Current guideline TR-02102-1, version 2026-01, covers quantum-safe key agreement.
RFC 7919Defines named finite-field Diffie-Hellman groups for TLS, from ffdhe2048 to ffdhe8192, with modulus sizes from 2048 to 8192 bits.Published August 2016 as a Standards Track document. Predates the NIST post-quantum transition timeline.

Why the guidance treats finite-field Diffie-Hellman as quantum-vulnerable

Finite-field Diffie-Hellman key exchange depends on the discrete logarithm problem, and the sources list that dependency among the public-key dependencies that post-quantum standards are meant to replace. This is the core reason the guidance treats the scheme as quantum-vulnerable. NIST's SP 800-56A Revision 3 specifies key-establishment schemes based on the discrete logarithm problem over finite fields and elliptic curves, including Diffie-Hellman and Menezes-Qu-Vanstone variants, so the dependency sits in the standard itself, not in a particular implementation. Engineers should read the question as a question about the algorithm family, not about any one key length or parameter set.

Symmetric key strength is a separate question, and it should not be mixed into this answer. RFC 7919 defines the named finite-field groups ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144 and ffdhe8192 for TLS and estimates symmetric-equivalent strengths of 103, 125, 150, 175 and 192 bits for them. Those estimates describe how hard the groups are against classical attacks. They do not change the public-key dependency: a larger group raises the classical estimate but still rests on the same underlying problem that the post-quantum standards replace. Teams weighing a bigger group should treat it as a classical hardening step, not as a quantum answer.

For planning, the practical step is to inventory where ffdhe groups or other finite-field Diffie-Hellman parameters are negotiated, including TLS configurations that advertise them through the Supported Groups extension that RFC 7919 adds. NIST's final IR 8547 identifies which quantum-vulnerable standards products and services will need to move off, and its transition timeline is the reference to confirm for your environment. Confirm the exact versions and settings you run with your vendor's documentation before deciding on a migration path.

Where Diffie-Hellman key exchange is used and what the sources say about each

Diffie-Hellman key exchange appears in several places, and the sources treat them differently. The cards below separate TLS negotiation, NIST key-establishment schemes, legacy and stored data, and the hybrid and transition guidance that NIST and the BSI describe, so each use can be checked against the document that covers it.

TLS named finite-field groups

RFC 7919 defines the named finite-field Diffie-Hellman groups ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144 and ffdhe8192 for TLS, with registry values 256 to 260. They are negotiated through the Supported Groups extension, and the RFC updates TLS 1.0, 1.1 and 1.2. Check which named groups your TLS stack offers and which ones a client will accept, because the group chosen in a handshake determines the key exchange in use. Confirm the negotiated group in each handshake rather than assuming one from configuration alone.

RFC 7919 text

NIST SP 800-56A key establishment

NIST SP 800-56A Revision 3, published in April 2018, specifies key-establishment schemes based on the discrete logarithm problem over finite fields and elliptic curves, including Diffie-Hellman and Menezes-Qu-Vanstone variants. NIST's page for this publication carries a planning note dated 6 January 2026 saying it has decided to update the publication. Teams using these schemes in government or regulated systems should track that update and confirm which revision their assessors reference.

Update planning note
January 6, 2026
SP 800-56A Rev. 3

Legacy protocols and stored data

Some systems still negotiate older protocol versions or keep encrypted data that was protected with key exchange in earlier years. The BSI describes store now, decrypt later as a threat to long-term security that mainly affects key-agreement schemes rather than signatures. The NIST news release suggests prioritizing migration for long-lived or highly sensitive data. Inventory which data must stay confidential for many years and which protocol versions still run in those flows.

BSI quantum page

Hybrid and transition deployments

The NIST news release says hybrid approaches that combine conventional and post-quantum encryption are covered in NIST IR 8547, the final version of which was published on 27 October 2026. The same release says NIST IR 8547 supports Executive Order 14412, under which federal high-value assets and high-impact systems migrate key establishment by 2030. Hybrid designs are a transition option described in that guidance, so confirm whether a given deployment is hybrid and which standard its components follow before treating it as meeting the guidance.

NIST IR 8547

What the sources say about data that must stay confidential for years

The main reason Diffie-Hellman key exchange draws attention is the store now, decrypt later threat. An adversary who records encrypted traffic today cannot read it yet, but could decrypt it later if a sufficiently capable quantum computer becomes available. NIST's October 2026 news release on its transition guidance describes this harvest now, decrypt later threat and suggests that organizations prioritize migration for long-lived or highly sensitive data. The BSI makes a related point: it describes store now, decrypt later as a threat to long-term security that mainly affects key-agreement schemes rather than signatures. For Diffie-Hellman, which is a key-agreement scheme, that distinction matters. The exposure lies in the session keys protected by the exchange, so the captured traffic is the asset at risk.

For a security lead, the practical question is which of your data sets fall into the long-lived or highly sensitive category, and which of the flows that protect them rely on finite-field Diffie-Hellman. Start by listing the traffic and stored ciphertext where confidentiality must hold for years, then check which key exchange each flow negotiates. NIST SP 800-56A Revision 3 covers finite-field and elliptic-curve key establishment, and RFC 7919 defines the named finite-field groups used in TLS. Confirm with your vendors which groups and key-establishment modes their products offer and enable by default. The sources listed on this page do not say how long any particular data set must remain confidential, so that duration has to come from your own data classification and legal review.

NIST's guidance also records that NIST IR 8547 covers hybrid approaches that combine conventional and post-quantum encryption, and that NIST will deprecate quantum-vulnerable algorithms from its standards by 2035, with high-risk systems moving earlier. Those dates are the reference points for planning. Where a flow protects data that must stay confidential for years, ask each vendor for a documented migration path for its key exchange, including whether a hybrid mode is available and in which versions. Record the answers in your inventory so that the sensitive flows are the first ones reviewed when those products are upgraded.

What NIST and the BSI say to use instead of finite-field Diffie-Hellman

NIST IR 8547, Transition to Post-Quantum Cryptography Standards, was published in final form on 27 October 2026. It identifies the quantum-vulnerable standards that products and services are expected to move away from and the quantum-resistant standards they will need to adopt. Finite-field Diffie-Hellman, as specified in NIST SP 800-56A Revision 3, belongs to the family of discrete-logarithm schemes that the transition plan addresses. NIST has also said it will update SP 800-56A Revision 3, and a planning note dated 6 January 2026 records that decision.

  • Final NIST IR 8547: The 27 October 2026 publication replaced the November 2024 initial public draft, which was obsoleted on that date.
  • Key establishment by 2030 for federal high-value assets: Under Executive Order 14412, federal high-value assets and high-impact systems migrate key establishment by 2030.
  • Removal by 2035: NIST's project page states that quantum-vulnerable algorithms will be deprecated and ultimately removed from its standards by 2035, with high-risk systems moving earlier.
  • Digital signatures by 2031: The same executive order sets 2031 for signature migration, which is separate from key establishment.
  • Standards named in the report: The sources do not name specific replacement algorithms on this page, so confirm the exact algorithms and parameter sets in NIST IR 8547 itself.

Check the final NIST IR 8547 text and the current status of SP 800-56A Revision 3 before you set a migration date for any key exchange component.

What to do about Diffie-Hellman in your systems, in order

This sequence takes you from knowing where finite-field Diffie-Hellman is used to having a dated, sourced position you can hand to auditors and customers. Each step produces an output that the next one depends on, and none of them require you to decide the cryptography yourself.

  1. Find every finite-field Diffie-Hellman negotiation

    Inventory the places where your systems negotiate finite-field Diffie-Hellman, including TLS endpoints, VPN and SSH configurations, and any protocol that names the ffdhe groups defined in RFC 7919 (ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144 and ffdhe8192). Your platform, network and security engineers should check the supported groups configured on each component, since a server can offer these groups even when clients prefer another. The step is done when you have a list of components, the groups each one offers, and the owner of each.

  2. Identify which data is exposed to store now, decrypt later

    Work out which of the traffic found in the first step carries data that must stay confidential for many years. NIST's October 2026 release says the harvest now, decrypt later threat should drive priorities, with migration first for long-lived or highly sensitive data. The BSI notes that this threat mainly affects key-agreement schemes, which is the category Diffie-Hellman falls into. The output is a ranked list of systems by how long their data must remain secret.

  3. Read the migration dates that apply to your sector

    Read NIST IR 8547, Transition to Post-Quantum Cryptography Standards, which the release of 27 October 2026 describes as identifying the quantum-vulnerable standards and the quantum-resistant ones that products will need to adopt. NIST's project page states that quantum-vulnerable algorithms are to be deprecated and removed from its standards by 2035, with high-risk systems moving earlier. If you are in Germany or work with German customers, also read the BSI's technical guideline TR-02102-1, version 2026-01. Confirm which of these documents your regulators or customers reference, and record the dates they give. The output is a note that cites each date and its source document.

  4. Ask vendors what they have published

    Send each vendor in the inventory a written request asking what they have published about post-quantum key establishment, whether their TLS and VPN products support hybrid key exchange, and which versions and configurations are affected. Ask for the documents and version numbers, not verbal assurances. Vendor documentation is the place to confirm that a given product and version negotiates the groups you rely on. The step is done when each vendor has responded in writing or has been recorded as not having published a position.

  5. Plan the change with hybrid or staged options

    Using the inventory, the priority ranking and the vendor responses, choose for each system whether to adopt a hybrid approach that combines conventional and post-quantum encryption, which NIST IR 8547 covers, or to stage the change by moving the highest-priority systems first. Check each plan against the versions you run, because compatibility between a hybrid mode and an older peer is not something to assume. The output is a written plan with an owner, the systems it covers and the open questions still awaiting vendor answers.

  6. Record the position for auditors and customers

    Write down the current state: which systems still negotiate finite-field Diffie-Hellman, which have moved, what the dates and documents say, and what the vendor responses showed. Keep the record current as the plan progresses. This record is what auditors and customers will ask to see when they review your position. Note that DeployOpen prepares the systems, controls and evidence for compliance assessments, but an independent auditor is the party that issues any attestation. The step is done when the record is dated, owned and reviewed on a schedule you have set.

Claims about Diffie-Hellman and quantum attack, and what the sources say

Readers often hear simple claims about finite-field Diffie-Hellman and quantum attacks, some true and some not. Each card below states a common claim and what the cited documents say about it, including where those documents are silent.

Bigger ffdhe groups make it quantum safe

The claim is that moving to a larger named group, such as ffdhe8192, makes finite-field key exchange quantum safe. RFC 7919 defines ffdhe2048 through ffdhe8192 with modulus sizes of 2048 to 8192 bits and estimates symmetric-equivalent strengths of 103 to 192 bits, but it is a classical parameter document and does not address quantum attackers. NIST SP 800-56A Revision 3 covers discrete-logarithm key establishment and is also silent on whether a larger group resists a quantum computer. Check the sources for the quantum claim, not the group size.

RFC 7919

Key exchange is the exposed part

The claim is that the threat to finite-field Diffie-Hellman is about recorded traffic rather than live sessions. The BSI says store now, decrypt later mainly affects key-agreement schemes rather than signatures, which fits Diffie-Hellman key exchange. NIST's October 2026 release describes the harvest now, decrypt later threat and suggests prioritizing migration for long-lived or highly sensitive data. Check whether your traffic carries data that must stay secret for years.

BSI quantum page

Signatures are equally exposed

The claim is that a Diffie-Hellman deployment is just as exposed through its signatures as through its key exchange. The BSI states that store now, decrypt later mainly affects key-agreement schemes rather than signatures, so the recorded-traffic risk is framed around key agreement. Signature algorithms still need their own review under NIST IR 8547, which identifies the quantum-vulnerable standards products will need to replace. Assess key exchange and signatures separately.

NIST IR 8547

A deadline has already passed

The claim is that a migration deadline for finite-field key exchange has already passed. NIST's project page states that NIST will deprecate and ultimately remove quantum-vulnerable algorithms from its standards by 2035, with high-risk systems transitioning earlier. NIST's release says Executive Order 14412 sets migration of key establishment for federal high-value assets and high-impact systems by 2030. These are future dates, and the sources do not state a date that has passed for commercial systems. Confirm the applicable deadline for your own system.

NIST PQC project

The NIST report settles the answer

The claim is that NIST IR 8547 directly rules on whether finite-field Diffie-Hellman is quantum safe. NIST published the final IR 8547 on 27 October 2026 to identify quantum-vulnerable standards and the quantum-resistant standards products will need to adopt. The sources cited here describe the transition and do not supply a per-scheme verdict for finite-field key exchange. Read the final report for the scheme-level guidance that applies to your deployment.

Final IR 8547 date
27 Oct 2026
NIST IR 8547 page

Hybrid schemes end the question

The claim is that combining conventional and post-quantum key exchange removes the need to assess finite-field Diffie-Hellman on its own. NIST's October 2026 release describes hybrid approaches that combine conventional and post-quantum encryption and says NIST IR 8547 covers them. The sources do not say that a hybrid makes the classical component quantum safe. Confirm the exact hybrid construction and its standard status with the vendor or the standard before relying on it.

NIST news release

Common questions about Diffie-Hellman key exchange and quantum attack

Does using a larger ffdhe group make Diffie-Hellman quantum safe?

No. A larger named group only raises the classical strength of the exchange. RFC 7919 defines ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144 and ffdhe8192, with modulus sizes of 2048, 3072, 4096, 6144 and 8192 bits, and estimates symmetric-equivalent strengths of 103, 125, 150, 175 and 192 bits respectively. Those estimates describe resistance to classical attacks. The security still rests on the discrete logarithm problem, which a sufficiently large quantum computer could solve, so a bigger group does not remove the public-key dependency. The source for the group sizes and estimates is IETF RFC 7919.

Must we replace Diffie-Hellman key exchange right now?

The published guidance does not set a single date for every system, so the answer depends on the data and the system. NIST's final NIST IR 8547, published on 27 October 2026, says quantum-vulnerable standards will be deprecated and ultimately removed from NIST standards by 2035, with high-risk systems moving earlier. The NIST news release of the same date says federal high-value assets and high-impact systems must migrate key establishment by 2030. The BSI notes that store now, decrypt later mainly affects key agreement, which makes long-lived or sensitive data the priority. Review your own data lifetimes and systems against these dates, and confirm the current deadlines in the sources linked below.

What replaces Diffie-Hellman key exchange?

NIST IR 8547 identifies the quantum-resistant standards that products and services are expected to adopt, and it describes hybrid approaches that combine conventional and post-quantum encryption. The BSI's technical guideline TR-02102-1, version 2026-01, is its current guideline on quantum-safe key agreement and signature schemes. For the specific algorithms, parameter sets and how your protocol stack negotiates them, check the NIST publications and your vendor's documentation, because the sources listed here do not name a single replacement for every deployment. Confirm which version of TLS or other protocol your systems run before you plan a change.

Is our data at risk today from a quantum attack on Diffie-Hellman?

The sources do not say that any data is being decrypted today by a quantum computer. The risk the guidance describes is harvest now, decrypt later: an attacker records encrypted traffic now and decrypts it once a quantum computer is available. NIST's news release recommends prioritizing migration for long-lived or highly sensitive data. The BSI states that quantum computers are a serious threat to public-key cryptography and that migration should be pushed forward. Assess your data by how long it must stay confidential, since data with a long secrecy requirement is most exposed to this pattern.

Are digital signatures affected in the same way as Diffie-Hellman key exchange?

The BSI describes store now, decrypt later as mainly affecting key-agreement schemes rather than signatures. Signatures are still covered by the same transition: NIST IR 8547 covers digital signatures and the Executive Order 14412 schedule, under which federal digital signatures must migrate by 2031, as NIST's news release describes. Keep the two apart in your inventory, because the harvest pattern that drives urgency for key exchange does not apply the same way to signatures. Verify the signature requirements for your specific product in its documentation.

What should we ask a vendor about Diffie-Hellman and post-quantum support?

Ask which key-exchange groups the product negotiates, whether it offers any post-quantum or hybrid key exchange, and in which versions. Ask whether the product uses RFC 7919 ffdhe groups and whether a larger group is the only option offered, since a larger group does not address the quantum threat. Ask for the planned upgrade path, the release that will ship it, and whether the change needs a configuration update or a new version. Request the vendor's documented position in writing, and check each answer against the NIST and BSI guidance linked below.

Dates the guidance sets for moving off Diffie-Hellman key exchange

The timeline starts with the finite-field Diffie-Hellman specifications: RFC 7919 (August 2016) for named TLS groups and NIST SP 800-56A Revision 3 (April 2018) for key-establishment schemes. NIST's initial public draft of NIST IR 8547 followed on 12 November 2024, and the final IR 8547 was published on 27 October 2026. Executive Order 14412 sets a 2030 target for key establishment in federal high-value assets and high-impact systems, and NIST's transition timeline sets 2035 for deprecating and removing quantum-vulnerable algorithms. Check the dates against each document before relying on them for a plan.

The published dates for moving off finite-field Diffie-Hellman key exchange, in order.

How DeployOpen helps with post-quantum migration of Diffie-Hellman systems

DeployOpen starts from the systems that use finite-field Diffie-Hellman key exchange in your environment, then plans the change with your security and platform teams. We implement, test and document the migration inside your own infrastructure, so your compliance and security reviewers can check the result directly.

How we scope

  • We inventory where finite-field Diffie-Hellman groups are negotiated, such as TLS endpoints, VPNs and internal services.
  • We map which of those systems protect data that must stay confidential for many years, since NIST guidance prioritizes those.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.

How we build

  • We review which named groups, such as ffdhe2048 through ffdhe8192 from RFC 7919, each system supports and configures them.
  • We follow the transition direction in NIST IR 8547 and any hybrid key-agreement approach your products support.
  • We test each change for interoperability with clients and peers before it reaches production.

How we hand over

  • You receive a written inventory, configuration records and a migration plan tied to the dates in the NIST and BSI guidance.
  • We document each change so your auditors can trace what was configured, when and why.
  • We confirm with your vendors which versions and editions support the algorithms you need before you rely on them.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial migration.
  • We can retest configurations after vendor updates or when NIST revises SP 800-56A Revision 3.
  • Our work prepares systems and evidence for compliance assessments, but independent auditors issue the actual reports.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.