Is X25519 quantum safe for long-lived data? What the published guidance says
If your data must stay confidential for years, the question is whether the X25519 key agreement used in most modern TLS and SSH deployments will still protect it once a large quantum computer exists. The sources listed on this page do not name X25519 as post-quantum. NIST's transition roadmap, NIST IR 8547, published as a final report on 27 October 2026, moves federal use toward the post-quantum standards FIPS 203, FIPS 204 and FIPS 205, and the German BSI and the IETF favor combining classical and post-quantum schemes where possible. Architects, security leads and procurement reviewers need to know which of their TLS and SSH endpoints negotiate X25519 and whether a post-quantum or hybrid option is available for each.
The concern is the store now, decrypt later risk. The BSI notes that key-agreement schemes are the first to be threatened by this pattern, because an attacker can record today's handshakes and decrypt them later. RFC 7748, published in January 2016, specifies X25519 as a Diffie-Hellman function on Curve25519 with 32-byte inputs and outputs, and its Section 7 addresses the effect of large quantum computers on these curves. The sources on this page do not say that X25519 is broken. They say it is not on the post-quantum list, so you should plan a replacement rather than assume it protects long-lived traffic indefinitely.
The practical path the sources describe is hybrid key agreement. The IETF draft draft-ietf-tls-ecdhe-mlkem-05, dated 26 May 2026 and still a work in progress, defines X25519MLKEM768 for TLS 1.3 with code point 4588 (0x11EC). NIST says hybrid key establishment is permitted through composite shared secrets under SP 800-56C and leaves the choice of hybrid modes to each application, and it has not settled whether hybrids are a long-term answer. Confirm with each vendor whether their TLS stack and SSH implementation supports X25519MLKEM768 or an equivalent, which version and edition provides it, and whether it is enabled by default in your configuration.
What each body has published on X25519 and quantum attack
This table lists each source that addresses X25519 or its replacement, with the date it was published and what it says about X25519 specifically. Where a source is silent on X25519, the row says so, so you can see which guidance names the curve and which only addresses key agreement in general. The main takeaway is that no source examined here declares X25519 safe against a quantum attacker, and the current guidance points toward hybrid key agreement with a post-quantum KEM.
| Source | Date | What it says about X25519 |
|---|---|---|
| RFC 7748, Elliptic Curves for Security | January 2016 | Specifies X25519 and its quantum note in Section 7. Section 7 addresses the effect of large quantum computers on Curve25519 and Curve448. |
| NIST post-quantum cryptography FAQ | Undated in the sources listed | Says Diffie-Hellman can be replaced by any secure KEM with efficient key generation. Does not name X25519 specifically. |
| NIST SP 800-56 revision announcement | 6 January 2026 | Does not name X25519 or X448. Announces a revision of key establishment recommendations without addressing these curves by name. |
| NIST IR 8547, Transition to Post-Quantum Cryptography Standards | 27 October 2026 (final) | Roadmap that catalogs quantum-vulnerable standards and the post-quantum standards to move to. The sources listed do not say whether X25519 is named in the catalog. |
| BSI post-quantum cryptography page (Germany) | Undated in the sources listed | Says key-agreement schemes are threatened first because of store now, decrypt later. Recommends combining post-quantum schemes with classical schemes where possible. Does not name X25519. |
| IETF draft-ietf-tls-ecdhe-mlkem-05 | 26 May 2026 | Defines the hybrid key agreement X25519MLKEM768 for TLS 1.3, combining X25519 with ML-KEM-768. Still an Internet-Draft, not a published RFC. |
Why the guidance singles out key agreement
The BSI's post-quantum guidance says key-agreement schemes are the first to be threatened, and the reason is the store now, decrypt later pattern. An adversary who records encrypted traffic today cannot read it yet, but may be able to once a sufficiently capable quantum computer exists. A TLS or SSH session protected by X25519 starts with a key exchange whose output protects everything that follows. If an attacker records that handshake and later recovers the shared secret from the public values exchanged on the wire, the session keys can be rebuilt and the recorded traffic decrypted. For data that must stay confidential for years, this means the exposure starts when the traffic is captured, not when the attack is run. Engineers should list which long-lived data crosses X25519 key exchanges today, since that data is the part of the inventory that cannot wait.
NIST's post-quantum FAQ takes a structural view of this. It says Diffie-Hellman can be replaced by any secure key encapsulation mechanism (KEM) with an efficient key generation algorithm, which treats key establishment as a component to swap rather than a fixed protocol. FIPS 203 specifies ML-KEM as the standardized KEM, with the parameter sets ML-KEM-512, ML-KEM-768 and ML-KEM-1024. The same FAQ says NIST leaves the choice of hybrid modes to each application and that it is not yet settled whether hybrids are a long-term solution. The practical consequence is that the decision of whether to combine X25519 with a post-quantum KEM, and how, sits with the team that owns the protocol configuration. The sources listed on this page do not say which hybrid an individual product must use, so teams should confirm the exact code points and versions their TLS stack supports.
Where X25519 is relied on in TLS, SSH and other protocols
X25519 appears in several places that carry different risks, from live key exchange to traffic that is recorded today and read later. The cards below separate the protocol uses, the systems that terminate them, and the certificate chains that are handled apart from key agreement.
TLS 1.3 key exchange
X25519 is defined for Diffie-Hellman key agreement in RFC 7748 and can be negotiated as the key share in a TLS 1.3 handshake. Because it sets up the session keys, a recording of the handshake is the material a store now, decrypt later attacker would collect. The IETF draft defines the hybrid X25519MLKEM768 with code point 4588 (0x11EC), a 1216-byte client share and a 1120-byte server share, so check whether your stack negotiates it. Confirm the code point and share sizes against the draft for the version you run.
IETF TLS draftSSH key exchange
SSH uses an elliptic-curve Diffie-Hellman exchange to derive session keys, and X25519 is one of the curves in common use for it. The sources supplied for this page do not describe an SSH key exchange mechanism that combines X25519 with a post-quantum KEM, so do not assume one exists. Check the key exchange algorithm list your SSH server and client actually offer, and confirm any hybrid option against your vendor's documentation or the relevant SSH specification.
Products that terminate TLS
Load balancers, reverse proxies, API gateways and TLS terminators often hold the handshake for many services, so the X25519 setting is made in one place but affects everything behind it. Inventory which component performs the handshake, which curves it offers, and whether it can be updated to a hybrid mechanism. Vendor documentation is the reference for the version you run, since the sources supplied here do not say which products support which hybrid code points.
Stored and archived session traffic
Captured TLS and SSH sessions that used X25519 remain exposed if the key exchange is later broken, because the traffic was recorded in advance. This is the store now, decrypt later risk the BSI names for key-agreement schemes. Data that must stay confidential for many years is the main concern. Review retention policies for captured traffic and any backups of encrypted sessions, and note which data would still matter if read in the future.
BSI post-quantum pageCertificate chains are separate
Certificate chains carry signatures, not key agreement, so X25519 in the handshake and the signature algorithms in the certificates are two different questions. The sources supplied for this page do not address how X25519 relates to certificate signing, so do not treat a hybrid key exchange as covering the chain. Check the signature algorithms in each certificate and plan for them as a separate item, since the BSI says long validity periods also call for timely change.
What the sources say about data that must stay confidential for years
For data that must stay confidential for many years, the main concern with X25519 is store now, decrypt later. An attacker can record encrypted traffic today and decrypt it later if a sufficiently capable quantum computer becomes available. The German BSI describes this threat directly and states that key-agreement schemes are the first to be threatened for this reason. Because the key exchange is what protects the session key, the exposure applies to recorded TLS and SSH sessions from the moment they are captured, not only to the time a quantum attack is actually run. Teams that handle long-retention data should review which sessions carry data with a confidentiality lifetime of many years, and which of their endpoints negotiate X25519 for those sessions.
The sources listed on this page do not give a date by which X25519 must be retired for a given data class. The BSI recommends combining post-quantum schemes with classical schemes where possible, and the IETF draft draft-ietf-tls-ecdhe-mlkem-05 defines the hybrid X25519MLKEM768 mechanism for TLS 1.3, which pairs X25519 with ML-KEM. NIST's post-quantum FAQ notes that Diffie-Hellman can be replaced by any secure KEM, and that it is not yet settled whether hybrids are a long-term solution. Your own retention period should be checked against the migration timelines in NIST IR 8547, which catalogs the quantum-vulnerable standards and the post-quantum standards to move to.
A practical next step is to list the protocols and endpoints that carry long-lived data, record which key-exchange groups each one negotiates, and decide with the data owner how long each data class must remain confidential. That retention period, set against the NIST IR 8547 roadmap, determines whether a hybrid key-exchange configuration is needed now or can follow the schedule your standards and compliance obligations set.
What guidance says to use instead of X25519
The IETF draft draft-ietf-tls-ecdhe-mlkem-05 defines X25519MLKEM768 as a key agreement for TLS 1.3 that combines X25519 with ML-KEM, so the resulting shared secret depends on both components. The draft is an Internet-Draft marked as Standards Track and work in progress, with an expiry date of 27 November 2026, so its details may still change. It also defines two other hybrids, SecP256r1MLKEM768 and SecP384r1MLKEM1024.
- Code point: the draft assigns X25519MLKEM768 code point 4588 (0x11EC).
- Client share: the client key share is 1216 bytes.
- Server share: the server key share is 1120 bytes.
- Shared secret: the combined shared secret is 64 bytes.
- Replaced drafts: the draft obsoletes the experimental pre-standard code points X25519Kyber768Draft00 (25497) and SecP256r1Kyber768Draft00 (25498), so servers and clients still using those values need to move to the new code point.
Confirm before adopting it that your TLS library and the version you run implement this specific draft revision, since the draft is still changing and the sources do not say which libraries support it. Check the current status of the draft on the IETF datatracker before relying on its values in production.
FIPS 203, the Module-Lattice-Based Key-Encapsulation Mechanism Standard, was published by NIST on 13 August 2024 and specifies ML-KEM as a key-encapsulation mechanism. It defines three parameter sets: ML-KEM-512, ML-KEM-768 and ML-KEM-1024. A KEM establishes a shared secret through an encapsulation and decapsulation step rather than through a symmetric Diffie-Hellman exchange, which is why it is the standardized building block that the hybrid draft relies on.
- Standard: FIPS 203, published 13 August 2024.
- Parameter sets: ML-KEM-512, ML-KEM-768 and ML-KEM-1024.
- Scope: the standard defines the KEM itself, not how it is carried inside a protocol such as TLS.
- Companion standards: FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) were published the same day, and cover signatures rather than key establishment.
- Protocol use: how ML-KEM is placed into TLS or SSH is set by the protocol documents, such as the IETF draft above.
When choosing a parameter set, check which one your application's policy or your procurement requirements name, because the sources listed here do not recommend one over another for a given use. Confirm against FIPS 203 itself and against your environment's documented requirements.
NIST's post-quantum FAQ states that Diffie-Hellman can be replaced by any secure KEM with an efficient key generation algorithm. This is a general position rather than a named product or code point, so it tells architects that the requirement is a secure KEM, not one specific algorithm. It also makes clear that the choice of hybrid mode is left to each application.
- Replacement principle: any secure KEM with an efficient key generation algorithm can take the place of Diffie-Hellman.
- Hybrids permitted: the FAQ says hybrid key establishment is permitted through composite shared secrets under SP 800-56C.
- Mode choice: NIST leaves the choice of hybrid modes to each application.
- Open question: the FAQ says it is not yet settled whether hybrids are a long-term solution.
- Related guidance: the German BSI says post-quantum schemes should be combined with classical schemes where possible, which is consistent with the hybrid approach.
The sources do not say which KEM a given product should use, so confirm that your choice matches your organization's policy and the requirements of your auditors or federal customers before committing to it.
What to do about X25519 in your systems, in order
This sequence tells you where X25519 is negotiated in your environment, which published dates and guidance apply to the lifetime of your data, and whether each vendor supports the hybrid mechanism. It ends with a rollback-ready change plan and a dated record your auditors and customers can review.
Inventory every place X25519 is negotiated
Start with the systems that terminate encryption: TLS endpoints, SSH servers, load balancers, reverse proxies and VPN gateways. For each one, record the key exchange groups it offers and prefers, which you can read from its configuration or by capturing a handshake with a TLS or SSH client that lists the supported groups. Note which systems negotiate X25519 by default. The step is done when you have a list of endpoints with their offered key exchange groups, owners and data flows, so you know where to focus the remaining steps.
Classify data by how long it must stay secret
For each data flow in the inventory, record how long the data must remain confidential after it is sent. Data that is recorded today and must stay secret for years is exposed to the store now, decrypt later concern that the German BSI names as the reason key-agreement schemes are the first to be threatened. Short-lived sessions carry a different risk than long-lived records. The step is done when each flow carries a confidentiality lifetime that a named data owner has signed off on.
Read the dates that apply to your data
Read NIST IR 8547, the final report of 27 October 2026, and the BSI post-quantum guidance, then match their timelines to the lifetimes you recorded. Check whether your sector or contract refers to either document, because neither is binding on commercial organizations by itself. The step is done when you have written down which dates apply to which data flows and which parts of the guidance your organization has chosen to follow.
Ask each vendor about hybrid support
For each product in the inventory, ask the vendor whether it supports the X25519MLKEM768 hybrid key agreement defined in the IETF draft draft-ietf-tls-ecdhe-mlkem-05, and in which version or edition. Ask whether it is enabled by default, how to enable it, and which build or library it depends on. NIST notes that hybrid modes are left to each application and that it is not yet settled whether hybrids are a long-term solution, so ask about the vendor's plan for that as well. The step is done when you hold a written answer from each vendor that names the version and the configuration for each system.
Test the change in a staging environment
Enable the hybrid group on a staging copy of one endpoint, then run the clients that connect to it and confirm that handshakes complete and that the negotiated group is the hybrid one. Check for clients that fail to connect or fall back to classical groups, and record the handshake size change, since the draft specifies larger client and server shares than X25519 alone. The step is done when you have a passing test run and a list of clients that need an update.
Plan the change with a rollback path
Schedule each change in a window agreed with the system owner, and for each one write down the exact configuration you will revert to if handshakes fail. Keep the previous configuration version available, and confirm that the rollback has been tested in staging. Notify the teams that depend on affected endpoints. The step is done when every change has a named owner, a tested reversal and a documented trigger for rolling back.
Record the decisions for auditors and customers
Write a dated record for each system that states the data it protects, the confidentiality lifetime, the vendor's answer on hybrid support with the version, the configuration applied and the rollback plan. Keep the vendor answers in writing so you can show them to auditors and to customers who run security reviews. The record should describe what was done and what remains open, and should not state that any product is compliant. The step is done when the record is filed with a named owner and a date for its next review.
Claims readers meet about X25519 and what the sources say
Readers often arrive with a fixed idea of X25519 and quantum risk. The four claims below come up most, and each is checked against RFC 7748, the NIST post-quantum FAQ and the BSI guidance. Where the sources are silent or still open, the card says so.
X25519 is already quantum safe
X25519 is a classical elliptic-curve Diffie-Hellman function specified in RFC 7748, published in January 2016. RFC 7748 Section 7 addresses the effect of large quantum computers on Curve25519 and Curve448, so the RFC itself does not treat the curve as settled against that threat. The BSI notes that key-agreement schemes are the first to be threatened by store now, decrypt later. Check whether your traffic or stored captures need protection over a long period before relying on X25519 alone.
RFC 7748A larger curve like X448 fixes it
RFC 7748 offers Curve448 as a hedge against possible analytical advances, but that is a different claim from quantum resistance. The RFC's Section 7 discussion of large quantum computers covers both curves, so it does not single out X448 as the fix. NIST's post-quantum FAQ says Diffie-Hellman can be replaced by a secure KEM, which points toward a change of algorithm family rather than a larger curve. Ask whether a proposed X448 deployment is meant as a hedge or as a quantum measure, and document which.
RFC 7748Hybrid key agreement is permanent
NIST's FAQ says it leaves the choice of hybrid modes to each application and that it is not yet settled whether hybrids are a long-term solution. The IETF draft defines X25519MLKEM768 for TLS 1.3 as a Standards Track work in progress, which may change before publication. Treat the hybrid as a transition step with a review date, not a fixed end state. Confirm the code point and parameter choices your TLS stack supports, since the draft notes it obsoletes earlier pre-standard code points.
IETF draftSignatures need the same change
The BSI says signatures mainly need short-term security, although long validity periods still call for a timely change. That makes signature migration a separate planning question from key agreement, with its own timeline set by how long each certificate or signed artifact must stay trusted. NIST IR 8547 catalogs quantum-vulnerable standards and the replacements to move to, so check each signing use against it. Do not assume that moving key exchange to a post-quantum KEM also moves code signing or certificates.
NIST IR 8547Where the sources do not settle it
The sources leave several points open. NIST's SP 800-56A revision announcement of 6 January 2026 does not name X25519 or X448, so it gives no direct guidance on them. RFC 7748 does not state a quantum security level for either curve. Whether hybrids will become the long-term answer is, in NIST's own words, not yet settled. Confirm current guidance from NIST and your regulator before setting a deadline, and record which of these points you relied on.
NIST announcementQuestions people ask about X25519 and quantum attack
Is X25519 quantum safe?
The sources listed on this page do not classify X25519 as quantum safe. X25519 is a Diffie-Hellman key agreement function on Curve25519, specified in RFC 7748 (January 2016), which the RFC presents as a 128-bit security level for use including TLS. The BSI says key-agreement schemes are the first to be threatened by quantum attacks because of store now, decrypt later, so any session whose recorded traffic must stay confidential for years is exposed to that risk. NIST's post-quantum FAQ says Diffie-Hellman can be replaced by any secure KEM with an efficient key generation algorithm. Read the RFC and the NIST FAQ directly for the full context.
Does a larger curve like X448 help against quantum attack?
RFC 7748 offers X448 as a hedge against possible analytical advances, not as a fix for quantum computers. Section 7 of the RFC addresses the effect of large quantum computers on both Curve25519 and Curve448, and it presents the larger curve for that analytical hedge only. Moving to X448 therefore does not change the core quantum exposure of the key exchange. The sources listed on this page do not say that X448 is quantum safe, so confirm the position against RFC 7748 Section 7 before relying on a curve change in a design.
Must I replace X25519 now?
The sources listed on this page do not set a deadline for replacing X25519 in commercial systems. The BSI recommends that post-quantum schemes be combined with classical schemes where possible, and it says key agreement is the first target because of store now, decrypt later. NIST IR 8547, the final transition report of 27 October 2026, catalogs quantum-vulnerable standards and the post-quantum standards to move to, so check its transition timeline for the algorithms your systems use. Whether a given system needs to change depends on how long its recorded traffic must stay secret, which is a decision for your own risk assessment.
What replaces X25519 in TLS?
The IETF draft draft-ietf-tls-ecdhe-mlkem-05, dated 26 May 2026, defines hybrid key agreement for TLS 1.3 that combines ECDHE with ML-KEM. Among its three mechanisms is X25519MLKEM768, with code point 4588 (0x11EC), a 1216-byte client share, a 1120-byte server share and a 64-byte shared secret. The draft obsoletes the experimental code points X25519Kyber768Draft00 and SecP256r1Kyber768Draft00. ML-KEM itself is specified in FIPS 203, published 13 August 2024. The draft is still a work in progress, so confirm the current status and code points against the draft and your TLS library's release notes before deploying.
Is my data at risk from quantum attack today?
The sources listed on this page do not say whether any particular data is at risk today, and they do not state that a quantum computer capable of breaking X25519 exists. The BSI describes the store now, decrypt later threat, in which an adversary records encrypted traffic now and decrypts it later. Whether your data is exposed depends on how long it must stay confidential and on what your traffic and key exchanges record. For a verdict on your own data, the BSI post-quantum page sets out its position, and your own risk assessment should decide what to protect and for how long.
Should I ask my vendor whether X25519 is quantum safe?
Yes. Ask whether your product uses X25519 in its TLS or SSH key exchange, and whether it offers a hybrid mode such as X25519MLKEM768 from draft-ietf-tls-ecdhe-mlkem-05. Ask which TLS library version provides the hybrid mechanism, and whether it is enabled by default or only through configuration. NIST's post-quantum FAQ says the choice of hybrid modes is left to each application, so ask which mode the vendor chose and why. Also ask whether the vendor has published a migration plan that references NIST IR 8547.
Are hybrid key exchanges permitted for federal use?
NIST's post-quantum FAQ says hybrid key establishment is permitted through composite shared secrets under SP 800-56C. It also says that whether hybrids are a long-term solution is not yet settled. The NIST SP 800-56 revision announcement of 6 January 2026 does not name X25519 or X448. Confirm which hybrid constructions your compliance program accepts and check the current SP 800-56 text before choosing one.
Key dates from the 2016 X25519 standard to the 2026 hybrid and NIST transition guidance
The timeline starts with RFC 7748, published in January 2016, which specifies X25519. In August 2024 NIST published FIPS 203, 204 and 205, the standards for ML-KEM, ML-DSA and SLH-DSA. NIST's initial public draft of IR 8547 followed on 12 November 2024, and the SP 800-56 revision was announced on 6 January 2026. The IETF hybrid draft draft-ietf-tls-ecdhe-mlkem-05 is dated 26 May 2026, and the final IR 8547 was published on 27 October 2026. Check each date against the source it cites, because a draft's expiry date does not mean the standard it describes has been finalized.
Dates the sources set for X25519, its hybrid replacements and the NIST transition.
How DeployOpen works on this
DeployOpen starts by inventorying where X25519 is used in your TLS and SSH endpoints, then identifies which data must stay confidential for years. The work follows the written scope, with the hybrid key agreement options and migration steps set out before any configuration changes are made.
How we scope
- We list every TLS and SSH endpoint that negotiates X25519 and record which library and version handles each one.
- We flag systems that protect data needing confidentiality for many years, since those carry the store now, decrypt later exposure.
- The written scope names the endpoints, the hybrid or replacement option to evaluate, and the deliverables, agreed before work starts.
How we build
- We test hybrid X25519MLKEM768 key agreement in a staging environment, checking client and server support for the IETF draft's code point 4588.
- We confirm that each library version in your stack supports the hybrid mode, since the draft is still a work in progress.
- We record each configuration change and keep classical X25519 as the fallback until compatibility is confirmed for your versions.
How we hand over
- You receive a documented inventory, the configuration changes made, and the test results for each endpoint tested.
- The handover notes which items remain open, such as clients that cannot yet negotiate a hybrid mode.
- We document the decisions taken and the reasoning, so your security and compliance teams can review them.
How we support
- Ongoing support and upgrades are available as a retainer, covering new library releases and changes to the draft.
- We can retest endpoints after upgrades to confirm the hybrid mode still negotiates as documented.
- Ask any provider to confirm which library versions and hybrid modes they support, and to state this in writing.

