Post-quantum cryptography is still safe (blog.cloudflare.com)

171 points by soheilpro 13 hours ago

30 comments:

by roywiggins 12 hours ago

> In particular, Anthropic's results don't indicate a fundamental flaw in ML-KEM or ML-DSA.

isn't a quasipolynomial solver existing at all, something of a fundamental flaw, even if it's not practical yet (or ever)?

by gucci-on-fleek 11 hours ago

Bruce Schneier's old article on an AES break in 2009 [0] is mostly applicable here, despite the completely different context:

> While this attack is better than brute force—and some cryptographers will describe the algorithm as “broken” because of it—it is still far, far beyond our capabilities of computation. The attack is, and probably forever will be, theoretical. But remember: attacks always get better, they never get worse. Others will continue to improve on these numbers.

[0]: https://www.schneier.com/blog/archives/2009/07/new_attack_on...

by tptacek 10 hours ago

Spoiler for those who didn't follow this story: the attack did not get meaningfully better.

by rainsford 2 hours ago

Also from what I understand this attack on ML-KEM/ML-DSA isn't even better than brute force. Per the article it's in fact enormously slower than the best classical attacks and far beyond the security level ML-KEM/ML-DSA targets. This attack seems like it has significant room to improve before it's even a theoretical break, much less a practical one.

by api 35 minutes ago

I have this intuition -- and please feel free to disregard this -- that having incredibly aggressive math dogs (human and also now AI) sniff, paw, dig, and pee all over an encryption algorithm, make a tiny amount of progress, but then stall is a weirdly positive indicator.

For AES it's like yeah they found that it's like AES-253 (ish) instead of AES-256.

Might be too early to use that vibe-heuristic for ML-KEM though. AES is ancient and very thoroughly dogged. The only bad thing about AES is that 128-bit blocks does mean you need to rotate keys very slightly more often when using it over what would (at the time it was designed) be absurd amounts of data (but no longer are). ChaCha has more margin here. But you should key rotate more often than AES demands anyway for other reasons.

by qnleigh 8 hours ago

The scary thing is that something that many many researchers were confident about turned out to be wrong. People were so sure that ML-KEM was exponentially hard that it became a NIST standard was rolled out. Now the remaining hope is that the numerical constants that make the algorithm impractical can't be improved too much. For the typical computer scientist, that is not very reassuring. We'll know more about how likely this is once the algorithm is published.

by throwaway198846 7 hours ago

I think you overestimate people's confidence in ML-KEM, there is a reason why so many implementions are hybrid with ECC.

by bwesterb 2 hours ago

Google first deployed lattices ten years ago. Back then the confidence in lattices was lower. Confidence has grown now, but the hybrids stuck.

by ifwinterco 4 hours ago

Exactly this is literally the reason for using hybrid cryptography, it’s widely accepted that any new crypto systems (classical or pq) can have flaws either in the cryptography itself or in common implementations.

This has happened in the past multiple times with classical crytography and it will happen again with new pqc.

Out of all the things in crytography they could have broken, this is among the least surprising and therefore the least bad. And by the sound of it the attack isn’t even practical.

If anything I would view this as a bit of a vindication of the human intelligence that went into designing the cryptography we use.

Anthropic were clearly desperate to find something here for marketing and spent God knows how much time and money prompting their best models and this was all they could come up with

by adrian_b 4 hours ago

That was the result of the fight between those who do not trust ML-KEM and those who promote ML-KEM, like NSA.

Had not been strong opposition to ML-KEM, it might have become the only key encapsulation mechanism that would be used today by all modern browsers.

The first 2 NIST competitions, which resulted in the selection of Rijndael for AES and of Keccak for SHA-3, were excellent.

On the other hand, the competition for post-quantum algorithms has resulted in the selection of the algorithm that was obviously the least secure. Now the Anthropic results only reinforce the point of view that this choice was a big mistake.

The NIST standard must be revised, like the SHA standard was replaced by the corrected SHA-1 a couple of years after its first publication.

At the minimum, another candidate must be chosen to be an equally preferred alternative for ML-KEM, but my opinion is that there actually is no reason to use ML-KEM, because its efficiency advantages are negligible and its security cannot be trusted.

Bad standards may force me to use weak cryptography when connecting to my bank, but between computers that I control I will never use inferior algorithms like ML-KEM (e.g. unlike TLS, SSH has alternatives).

by tptacek 3 hours ago

The NIST PQC obviously didn't result in "the selection of the algorithm that was obviously the least secure". Other contenders were broken outright. With all the resources Anthropic marshaled to prove the Riemann Hypothesis, they managed to come up with an attack that requires the entire resources of a great many stars to mount.

I have no idea if MLKEM will stand over the long term. But certain people felt that way about AES, too, and there as well argued that the NIST contest had selected the weakest algorithm.

by ameliaquining 10 hours ago

This post completely dodges the question of whether ML-KEM is still the right thing to migrate to, given the possibility of future cryptanalytic techniques that build on these ones while improving the constant factors.

by tptacek 10 hours ago

Unless some totally new disclosure occurs in the intervening time, everybody is going to continue migrating to MLKEM. There's no rational reason to slow that conversion down; anything you learned today is operable --- even after a currently science-fiction improvement that leverages this line of attack in a way that doesn't depend on Dyson Spheres --- only in a setting that annihilates the security of ECDH.

People could advocate for a rollout of a FrodoKEM fallback (Frodo is an unstructured lattice scheme). That could happen, and see browser deployment, in some small number of years? If it helps: people have been talking about falling back to FrodoKEM in some worst-case scenario for quite a long time prior to today's announcement.

by ameliaquining 10 hours ago

Thanks, this is helpful context.

by nr378 5 hours ago

HQC-KEM seems like the better medium-term target given it's already been selected by NIST for FIPS 207: https://www.nist.gov/news-events/news/2025/03/nist-selects-h.... It wouldn't be surprising to see NIST look to pick up FrodoKEM next though.

Asymptotically hit (quantum, galactic today): ML-KEM (Kyber), ML-DSA (Dilithium), FN-DSA (Falcon), power-of-two NTRU, HAWK (module-LIP).

No known attack (yet): FrodoKEM (ISO standard, unstructured LWE), sntrup761 (prime non-cyclotomic NTRU Prime), HQC (NIST code-based backup).

by bwesterb 2 hours ago

Yes, ML-KEM still looks like the best thing to migrate to, even if this attack improves.

by bwesterb 2 hours ago

To add some more flavour: this theoretical attack scales more than exponentially in the security level of ML-KEM. We also shouldn't overindex: it's just one attack of many we need to consider when choosing a scheme.

ML-KEM at its highest security level is faster and smaller than FrodoKEM and HQC at its lowest security level. Actually there is still a significant gap and a ML-KEM at dimension ~1600 still beats lowest security level FrodoKEM and HQC https://cryptojedi.org/papers/kaiburr-20261103.pdf

There is an astronomical gap before becoming threatening ML-KEM-512, and then still a huge gap with ML-KEM-768 and then again ML-KEM-1024, etc. If all those gaps are bridged, then we'd probably consider a new structured lattice scheme not based on power-of-two cyclotomics. But that's a big if. Lots of safety margin still, and I'm still more worried about gradual progress against generic unstructured lattices.

by tptacek 10 hours ago

I don't know Mari Galicer or Christopher Patton (who is also a PhD cryptographer) but Bas Westerbaan and JP Aumasson are both well-known academic cryptographers, if that background is helpful to anyone parsing this.

by bdhe 8 hours ago

Shameless plug for JP's excellent pqcrypto index @ pqc.cool. https://github.com/veorq/awesome-post-quantum

by masoncarpenter 3 hours ago

Solid read on where PQ actually stands

by Kuyawa an hour ago

Still. Key word here, more likely not for long

by arisAlexis 8 hours ago

Can't everyone see the writing on the wall? "For now"?

by surgical_fire 2 hours ago

Andromeda is not going to collide with the Milky Way for now.

by inference-god 5 hours ago

Unless you can tell the future, then no, I don't think everyone can see the writing on the wall ?

by arisAlexis 4 hours ago

"for now"..

by normcu 9 hours ago

> So far they appear to constitute a significant step forward in cryptanalysis that will undoubtedly influence future attacks and new cryptosystems alike.

I no longer believe that anything is safe.

by Eufrat 6 hours ago

I think it is intrinsically impossible for there to be guaranteed safe cryptography that will never get broken with the way these algorithms and systems are designed. There’s a strong bit of art to them as well.

It’s an endless fight, to seek an unbreakable cipher that also gives us what we want from cryptography is a fool’s errand. A one-time pad is information theoretically secure, you literally do not have enough data to construct the original information without the cipher; one-time pads are not practical for most use cases. You would literally have to make an OTP for each interaction. This would be painful.

by bananaflag 4 hours ago

You need quantum key distribution for this. The only thing that can't solve is decentralized authentication.

by literalAardvark 8 hours ago

Nothing ever was. The hackers told us out loud from the start.

The only way to win this is by having good monitoring, detection, remediation.

Data from: Hacker News, provided by Hacker News (unofficial) API