By Bonaventure Ogeto · Published · Last verified:

The Real Risks of Post-Quantum Migration: Bugs, Side Channels and Broken Assumptions

The short answer

The real risks are practical: young algorithms can still fall, as SIKE did[1]; code can leak keys, as KyberSlash showed[2]; bigger handshakes break some servers and middleboxes; and devices that cannot be updated get stuck. Hybrid modes and crypto-agility contain these risks, and waiting is riskier than moving.

Source: Mctaba Labs, “The Real Risks of Post-Quantum Migration: Bugs, Side Channels and Broken Assumptions”, last verified 4 December 2026, mctaba.com/learn/cryptography/post-quantum-migration-risks

What are the real risks of moving to post-quantum cryptography?

Post-quantum cryptography (PQC) means new public-key algorithms, the kind used to agree on keys and sign data, designed to survive a quantum computer able to break today's RSA and elliptic-curve keys. The case for moving is solid: NIST calls harvest now, decrypt later, where adversaries record encrypted traffic today to decrypt once quantum technology matures, one of the main reasons[3] the transition is urgent. No published attack breaks deployed encryption.

The migration itself carries four kinds of risk:

  • Broken assumptions. Each algorithm rests on a maths problem believed to be hard, and young algorithms have faced less attack.
  • Bugs and side channels. The maths can hold while the code leaks the key.
  • Bigger messages. Larger keys and handshakes trip up old servers, firewalls and devices.
  • Systems that cannot change. Hardware, firmware and contracts that lock in one algorithm or one vendor.

None of these is a reason to wait. The Cryptography Incident Review Group (CIRG) warns that delay prolongs reliance on systems that can be broken with far fewer quantum resources[4], and new algorithms have historically taken 10 to 20 years[3] to spread. Symmetric encryption (is AES-256 quantum safe?) and blockchains (is Bitcoin safe from quantum computers?) are separate questions.

Can a new post-quantum algorithm turn out to be broken?

Yes, and it has happened without any quantum computer. SIKE, a key exchange built on isogenies (maps between elliptic curves), reached the fourth round of NIST's competition before Wouter Castryck and Thomas Decru published an attack in July 2022[5]; in its revised form the code breaks SIKEp434, which aims at NIST security level 1, in about ten minutes on a single core[5]. Rainbow, then a NIST signature finalist[6], fell in 2022[7] too: Ward Beullens recovered a secret key for its second-round parameters in on average 53 hours (one weekend) on a standard laptop[6]. In July 2026[8] an AI-assisted attack from Anthropic halved the effective key size[8] of HAWK, a candidate in NIST's search for extra signature schemes.

That is the process working: none of the three became a standard. The main survivors, ML-KEM for key exchange and ML-DSA for signatures, rest on structured lattices and have no comparable published break. Anthropic's recent lattice algorithms are not practical for the parameter sets of ML-KEM and ML-DSA[9], and the UK's NCSC said the work does not represent a threat[10] to them, though Anthropic reads its results as “a limited signal that weaknesses in structured lattices could be found in the future”[11]. What Anthropic's lattice findings mean has the detail.

NIST hedged early, picking fourth-round candidates with different foundations to reduce the risk that “a single cryptanalytic breakthrough will leave no viable standard for key establishment”[1]. It chose HQC, built on error-correcting codes, as a complement to ML-KEM because it is based on a different underlying security problem[1]. The NIST standards guide explains each algorithm.

What is KyberSlash, and why can a bug matter more than the maths?

A side channel is information that leaks from how a computation runs, such as how long it takes: if handling some keys takes longer than others, an attacker who can time it learns about the key without touching the maths.

In KyberSlash, various Kyber software libraries[2] divided a secret number by a public one, and on many processors the time a division takes depends on its inputs. Kyber is the scheme NIST standardised as ML-KEM[12]. The researchers found two flaws, KyberSlash1 and KyberSlash2, in several implementations including the official reference code[12], and recovered keys within minutes (KyberSlash2) or a few hours (KyberSlash1) on a Raspberry Pi 2 and an Arm Cortex-M4[12]. The reference code was patched on 1 December 2023[12], and other maintainers swiftly patched[12] their libraries.

The maths was sound; the code was not. Newer schemes bring new traps. For FN-DSA, the Falcon-based signature NIST is still developing[3] as FIPS 206, NIST lists floating point among the special challenges[13], because signing uses native or emulated IEEE-754 binary64 floating-point arithmetic[13].

So use widely reviewed libraries, keep them patched and never write your own. Some now come with a mathematical proof that they compute the standard correctly: Apple says CryptoKit uses a formally verified implementation of ML-KEM[14], proven equivalent to FIPS 203. That proof is about correct results, not timing, so patching still matters.

Why do post-quantum handshakes break some servers and middleboxes?

Every HTTPS connection starts with a TLS handshake. The client's opening ClientHello message carries a key share, its contribution to the key exchange, and post-quantum shares are far bigger. With X25519MLKEM768, a hybrid group standardised in RFC 10024, the client's share is 1,216 bytes[15], of which the classical X25519 part is 32 bytes[15]; the server's reply is 1,120 bytes[15]. Cloudflare notes that with X25519 alone the ClientHello almost always fits within one network packet[16], but with ML-KEM it is typically split across two packets[16]. TLS 1.3 allows that, yet it risks not being handled well due to protocol ossification[16], which sets in when equipment hard-codes assumptions about what traffic looks like.

The usual culprits are middleboxes: firewalls, proxies, load balancers and inspection appliances between users and servers. The tldr.fail site describes the bug: “Most buggy servers are not prepared to have to call read() more than once to read the entire ClientHello.”[17] Such servers reject connections that use post-quantum cryptography[17] instead of falling back; the site lists nine known incompatible products[17]. Chrome's own rollout in Chrome 124[18] revealed a number of previously-existing bugs in several TLS middlebox products[18], and Apple warns that devices on iOS 26 and macOS Tahoe 26 may fail to connect to some legacy servers[19].

The fix belongs on the server: keep reading until the whole message, sized by the two-byte record length field at byte index 3[17], has arrived. Another mistake is forcing post-quantum too early: on Cloudflare, requiring it from a server that lacks it returns a 525 error[16].

If your bank, SACCO or fintech runs a TLS-inspecting firewall or an older load balancer, test it now: desktop Chrome already sends these handshakes. How to enable post-quantum TLS covers configuration and testing.

What about devices and firmware that cannot be updated?

Software can be patched; much hardware cannot. A hardware root of trust is the key or code built into a chip that checks software before it runs. The NSA singles out roots of trust and firmware signatures because their algorithms can be difficult to update throughout a device's operational lifetime[20], warning that “Failing to implement quantum-resistant protections during acquisition could create persistent vulnerabilities and require costly hardware replacement”[20].

This is mainly about signatures. NIST notes they are not vulnerable to harvest now, decrypt later[3], but calls their migration urgent because it takes longer and needs more parties to coordinate. They are bigger too: an ML-DSA-44 signature is 2,420 bytes[21], against 256 bytes[22] for RSA-2048, so boot code and certificate fields sized for old signatures may not hold new ones.

NIST will deprecate quantum-vulnerable public-key algorithms after 2030 and disallow them after 2035[3], and a payment terminal, router, smart meter, ATM or other Internet of Things (IoT) device bought this year may still be in service then. Decide at purchase: ask whether the device can move its firmware signing and secure boot to a NIST post-quantum signature in the field, and put the answer in the contract.

Why do hybrid modes exist?

A hybrid runs a classical algorithm and a post-quantum one together and combines their outputs. NIST's final transition report, NIST IR 8547, defines a hybrid key-establishment mode as a combination of two or more[3] schemes, built so that “derived keys remain secure if at least one of the component schemes is secure”[3].

That answers the first two risks above. If the new algorithm falls to a classical attack as SIKE did, or its code leaks as KyberSlash did, the classical half still protects the connection; if a quantum computer arrives, the post-quantum half holds. After candidates were broken in 2022 and 2023[23], Google chose hybrids to deploy and test new quantum-resistant algorithms while ensuring that connections are still protected by an existing secure algorithm[23]. What a classical-plus-ML-KEM hybrid cannot cover is both at once: a quantum computer running an improved lattice attack would break both halves. That case needs a second post-quantum scheme on different maths: hence the CIRG's call for hybrids that combine schemes based on different mathematical foundations[4], and NIST's choice of HQC as a complement to ML-KEM[1].

Hybrids cost something: the NCSC says they will be more complex to implement and maintain and will also be less efficient[24], and says that if you choose one, it should be an interim measure that allows a straightforward migration to PQC-only in the future[24]. They do not block compliance, since NIST lets a hybrid be validated under FIPS 140 as long as at least one input comes from an approved scheme[3].

You rarely build one yourself. RFC 10024, published in August 2026[15], defines three hybrid groups for TLS 1.3[15], among them X25519MLKEM768, which Go 1.24[25] and OpenSSL 3.5[26] already offer by default.

Could the migration lock you into one vendor?

It can. Urgency invites shortcuts: a proprietary "quantum-safe" protocol, an algorithm no standard names, a hardware module only its maker can change. Each fixes this year's problem and creates the next, because the field keeps moving.

Early adopters have already moved once. Browsers and clouds shipped drafts of Kyber before the standard was final; then Chrome 131 switched to ML-KEM[27] and dropped Kyber, because Chrome will not support Kyber and ML-KEM at the same time[27], and AWS said Kyber support would be removed across all its service endpoints in 2026[28].

The defences are unglamorous. Use standard algorithms through standard protocols that “allow the negotiation of cryptographic algorithms”[29], as the NCSC puts it, with libraries that can add and remove algorithms; the NCSC expects most migrations to take at least two steps[29], one to add post-quantum algorithms and one to retire the old ones. Test interoperability before production, as the draft NIST SP 1800-38C describes[30]. And keep certificates agile: Google notes that missing agility in web certificates has contributed to significant delays in past cryptographic transitions[18]. Crypto-agility and cryptographic inventory shows where to start.

Which risks matter most, and what should you do about each?

Each risk above has a known answer:

RiskWhat it looks likeWhat to do
A young algorithm's maths failsSIKE fell to an attack that ran in about ten minutes on a single core[5]Use only NIST standards, in hybrid mode
Lattice attacks improveThe CIRG expects the new attack will be improved in the near future[4]Use the highest security level each application can support[4]; plan to add HQC, which rests on different maths
Bugs and side channelsKyberSlash recovered keys within minutes[12]Use vetted, patched libraries; never write your own
Bigger handshakesBuggy servers reject connections that use post-quantum cryptography[17]Test from Chrome 131 or newer on desktop[17]; fix or replace the box
Too strict, too soonCloudflare returns a 525 error[16] if you require post-quantum from an unready serverKeep automatic fallback
Draft algorithms retiredAWS said it would remove Kyber from its endpoints in 2026[28]Move from Kyber drafts to ML-KEM
Hardware that cannot changeThe NSA warns of costly hardware replacement[20]Make post-quantum firmware signing a purchase condition
Vendor lock-inProprietary "quantum-safe" productsStandard algorithms, negotiated protocols, updatable libraries
WaitingTraffic recorded today is decrypted laterStart with hybrid key exchange; migrations take 10 to 20 years[3]

The cryptography series hub puts these steps in the wider migration plan.

For developers: how do you avoid the common post-quantum mistakes?

  • Keep the defaults. Go 1.24's crypto/tls enables X25519MLKEM768 by default when Config.CurvePreferences is nil[25], so a hard-coded curve list that omits it quietly opts you out. OpenSSL 3.5's DEFAULT list selects X25519MLKEM768 as one of the predicted keyshares[26].
  • Treat escape hatches as debt. GODEBUG=tlsmlkem=0 reverts Go's default, which Go suggests for buggy TLS servers that do not handle large records correctly[25]. In OpenSSL, prepending ?X25519MLKEM768: to the groups list drops the keyshare prediction[26], so the group is used only after a Hello Retry Request, an extra round trip. Log each use and remove it once the other side is fixed.
  • Never divide or branch on secrets. The reference code's KyberSlash1 fix was described as “Updated poly_tomsg to prevent a compiler from using DIV”[12]: a compiler can turn innocent-looking code into a variable-time instruction.
  • Size buffers for the new algorithms. An ML-KEM-768 ciphertext is 1,088 bytes[31] and an ML-DSA-65 signature 3,309 bytes[21]; fields sized for classical keys will truncate them.
  • Read the whole ClientHello. Anything that inspects TLS, such as a router that picks a backend by server name, must not assume one read returns the full record. Per tldr.fail, an ERR_CONNECTION_RESET from Chrome 131 or newer[17] means the server is buggy[17]. In Go, io.ReadFull loops for you:
peek_clienthello.go
// Imports: encoding/binary, errors, io, net.
func readClientHello(conn net.Conn) ([]byte, error) {
	header := make([]byte, 5) // type, version, 2-byte length
	if _, err := io.ReadFull(conn, header); err != nil {
		return nil, err
	}
	if header[0] != 0x16 { // handshake record
		return nil, errors.New("not a TLS handshake")
	}
	n := int(binary.BigEndian.Uint16(header[3:5])) // length at byte index 3
	if n > 16384 {
		return nil, errors.New("record too large")
	}
	body := make([]byte, n)
	if _, err := io.ReadFull(conn, body); err != nil { // waits for all n bytes
		return nil, err
	}
	// Forward these bytes first; a ClientHello may span several records.
	return append(header, body...), nil
}

Frequently asked questions

Is it safer to wait until post-quantum algorithms are more mature?
No. The CIRG, which reviewed the latest lattice research, wrote “We recommend continuing the transition to post-quantum cryptography.”[4] Waiting leaves you on RSA and elliptic curves, which need far fewer quantum resources to break than the new lattice attack does. Hybrid modes cover the maturity risk.
Did KyberSlash break ML-KEM?
No. It was a timing leak in software: some Kyber libraries, including the reference code, divided a secret number by a public one[2], and the timing gave the key away. Maintainers swiftly patched[12] the code, so keep your libraries current.
Will turning on post-quantum TLS break my website?
Usually not: Google found that the vast majority of TLS implementations[23] cope with the larger message. Some servers and middleboxes reject the connection instead of falling back[17], so test from Chrome 131 or newer on desktop[17] first.
What should I ask a vendor selling quantum-safe products?
Which NIST standards it implements (ML-KEM for key exchange, ML-DSA for signatures), whether it runs them as hybrids, whose implementation it ships, how fast it patches, and whether algorithms and keys can be changed in the field, firmware included.

Sources

  1. [1] NIST, March 2025, checked 4 December 2026
  2. [2] KyberSlash team (Bernstein et al.), 24 June 2024, checked 4 December 2026
  3. [3] NIST, October 2026, checked 4 December 2026
  4. [4] Cryptography Incident Review Group, 30 November 2026, checked 4 December 2026
  5. [5] IACR Cryptology ePrint Archive, 30 July 2022, checked 4 December 2026
  6. [6] IACR Cryptology ePrint Archive, 25 February 2022, checked 4 December 2026
  7. [7] Springer, 13 October 2022, checked 4 December 2026
  8. [8] Anthropic, 28 July 2026, checked 4 December 2026
  9. [9] Anthropic (formal-math repository), 30 November 2026, checked 4 December 2026
  10. [10] UK National Cyber Security Centre (NCSC), 1 December 2026, checked 4 December 2026
  11. [11] Anthropic (X post), 30 November 2026, checked 4 December 2026
  12. [12] KyberSlash team (Bernstein et al.), 15 January 2025, checked 4 December 2026
  13. [13] NIST CSRC, 25 September 2025, checked 4 December 2026
  14. [14] Apple Developer, June 2025, checked 4 December 2026
  15. [15] RFC Editor (IETF), August 2026, checked 4 December 2026
  16. [16] Cloudflare Docs, 23 November 2026, checked 4 December 2026
  17. [17] tldr.fail, checked 4 December 2026
  18. [18] Google (Chromium Blog), 23 May 2024, checked 4 December 2026
  19. [19] Apple Support, 18 June 2026, checked 4 December 2026
  20. [20] National Security Agency, 2 December 2026, checked 4 December 2026
  21. [21] NIST, 13 August 2024, checked 4 December 2026
  22. [22] Falcon team (falcon-sign.info), checked 4 December 2026
  23. [23] Google (Chromium Blog), 10 August 2023, checked 4 December 2026
  24. [24] UK National Cyber Security Centre (NCSC), 14 August 2024, checked 4 December 2026
  25. [25] The Go Project, 11 February 2025, checked 4 December 2026
  26. [26] OpenSSL Library, 8 April 2025, checked 4 December 2026
  27. [27] Google (Online Security Blog), 13 September 2024, checked 4 December 2026
  28. [28] Amazon Web Services (AWS Security Blog), 7 April 2025, checked 4 December 2026
  29. [29] UK National Cyber Security Centre, 3 December 2026, checked 4 December 2026
  30. [30] NIST CSRC (NCCoE), 19 December 2023, checked 4 December 2026
  31. [31] NIST, 13 August 2024, checked 4 December 2026

Related guides