New research from Anthropic has identified a novel approach to attacking the mathematical foundations of two of the world’s leading post-quantum cryptography standards, ML-KEM and ML-DSA. Our team of cryptography researchers at IBM, together with academic and industry collaborators, developed the algorithms behind both standards, which were published by the National Institute of Standards and Technology (NIST) in 2024. Since then, both have gained steady traction in deployment.
Anthropic’s findings represent a significant advance in theoretical cryptanalysis, but they do not currently pose a practical threat to either standard, nor do they change the imperative for organizations to transition to quantum-safe cryptography. Their research also highlights the importance of deliberate design choices made during the development of these algorithms.
Understanding the new findings #
The security of ML-KEM, which enables the secure establishment of cryptographic keys that protect sensitive data, and ML-DSA, which enables digital signatures for authenticating oneself, relies on the difficulty of solving mathematical problems involving structures known as lattices.
A lattice can be visualized as a regular arrangement of points in a multidimensional space. Finding short vectors in high-dimensional lattices is a computationally difficult problem that underpins many quantum-safe cryptographic algorithms.
The lattices used in ML-KEM and ML-DSA, known as module lattices, incorporate algebraic structure that makes cryptographic operations more efficient. Two parameters are particularly relevant to their security: Ring degree sets the size of each individual ‘block’ of polynomial math, while module rank sets how many of those blocks are stacked together into a grid — like the dots shown in the graphic at the top of this article.the module rank and the ring degree.
Increasing the ring degree improves efficiency but also introduces more algebraic structure that could potentially be exploited by an attacker. Until now, the best-known attacks suggested that increasing either parameter contributed to computational difficulty in broadly comparable ways. In other words, increasing one makes the problem harder by about as much as increasing the other.
Anthropic’s research changes our understanding of this relationship. It introduces a quantum algorithm whose computational cost grows asymptotically — considerably more slowly with the ring degree than previously known attacks.
Effects on the NIST standards #
When concretely applied to today’s standards, the algorithm requires vastly more computation than previously known attacks, or even a straightforward attack where one tries to simply guess the secret key by enumerating all possibilities. In both Anthropic’s own report and in a preliminary assessment coauthored by myself and other members of the Cryptography Incident Review Group (CIRG), we concluded that even something as large as 2¹⁰⁰⁰ quantum operations would fall well short of the resources required by the attack against the lowest security levels of ML-KEM and ML-DSA.
Furthermore, the design choices behind the ML-KEM and ML-DSA algorithms limit even the theoretical effect of this attack. By deliberately keeping the ring degree fixed at 256 and increasing only the module rank to achieve higher security levels, the new attack’s computational cost still grows at an exponential rate.
Anthropic also reports no improvement in classical attacks against the standards or in quantum attacks against unstructured lattices, which are lattices with a ring degree of 1 whose security only depends on the module rank. This raises our confidence in the classical security of the schemes and suggests that indeed increasing the rank is the right approach for increasing security.
Anthropic’s research introduces a quantum algorithm whose computational cost grows considerably more slowly with the ring degree than previously known attacks.
The attack is new, so we expect researchers will improve upon it. The critical question is whether these improvements will be dramatic enough to lead to attacks that outperform existing ones.
As cryptographers, we welcome the application of AI to scrutinize the mathematical assumptions underlying cryptography. At IBM, we will continue investigating advances in cryptanalysis and collaborating with the broader scientific community to strengthen quantum-safe cryptography.
Organizations should continue their quantum-safe transition #
Widely used cryptographic algorithms, including RSA and elliptic-curve cryptography, will be vulnerable to quantum-driven attacks that will require far fewer computational resources than Anthropic’s new approach.
Delaying migration would thus prolong organizations’ exposure to a much better understood quantum risk.
We recommend that organizations:
Continue adopting NIST’s post-quantum cryptography standards, selecting the highest security level their applications can support. #
Prioritize cryptographic agility so that algorithms can be replaced as security requirements and standards evolve. #
Evaluate hybrid approaches that diversify the mathematical foundations on which cryptographic security depends. #
Closely monitor advances in cryptanalysis without making premature changes which could cause more harm than good.
We also support the development and standardization of additional quantum-safe algorithms based on diverse mathematical foundations.
We would like to conclude by noting that, although AI is causing some momentary uncertainty, there are good reasons to believe it will ultimately have a very positive effect on cryptography. Growing AI capabilities will increase our trust in the security of the schemes we have and will help us develop new ones that are likely to be even more efficient.
Notes #
- Note 1: Ring degree sets the size of each individual ‘block’ of polynomial math, while module rank sets how many of those blocks are stacked together into a grid — like the dots shown in the graphic at the top of this article. ↩︎
Related posts #
- ReleaseMadison Lee, Peter Staar, Ahmed Nassar, Matteo Omenetti, Avihu Dekel, Rogerio Feris, Dhiraj Joshi, Isaac Sanchez, Pengyuan Li, Radu Florian, Parul Awasthy, and Aashka Trivedi
- Building policy enforcement into the AI stack with Praxis Technical noteMalgorzata Steinder, Frederico Araujo, and Ian Molloy
- IBM and Kaggle launch leaderboard for Java framework migration Technical noteBridget McGinn, Raju Pavuluri, Advait Pavuluri, Rahul Krishna, Srikanth Tamilselvam, Ashita Saxena, George Safta, and Michele Merler
- PyTorch opens the AI ecosystem to a new class of accelerators NewsPeter Hess