Number field sieve
The fastest known general method for factoring large numbers, and so the best public attack on RSA. The same method computes discrete logarithms in finite fields, which is why a faster sieve would also hit classic Diffie-Hellman and DSA.
The number field sieve is the fastest known general method for factoring large integers, which makes it the best public attack on RSA. Its full name is the general number field sieve, or GNFS. It matters because every statement about RSA key sizes is a statement about what this algorithm costs. NIST rates 2048-bit RSA at about 112 bits of security and 3072-bit RSA at about 128 bits because of how the sieve's running time grows with the size of the number.
The sieve works in stages: choose a polynomial, collect a very large number of relations by sieving, solve a huge sparse linear system and extract the factors. Its running time grows more slowly than exponentially and faster than any polynomial, and that class has not changed since the method replaced the quadratic sieve around 1990. Progress since then has been hardware and engineering. RSA-250 (829 bits) fell in February 2020 after about 2,700 core-years. RSA-896 fell on 19 September 2026 after about 30 GPU-years, when Claude ported the open-source CADO-NFS software to GPUs, and its author reports no meaningful improvement to the algorithm. The same method computes discrete logarithms in finite fields, so an advance would probably hit classic Diffie-Hellman and DSA as well. Elliptic curves are outside that family.
For planning, the sieve gives two estimates worth knowing. Eric Lu of Cognition, who set one of the 2026 records, prices one 1024-bit factorization at about 30 million dollars of GPU time, so treat 1024-bit keys as breakable by a well-funded attacker and replace them. He puts RSA-2048 at roughly a billion times harder than RSA-1024. Both are extrapolations, and nobody has published a 1024-bit factorization. A longer key buys margin against this method only. It does not help against a new factoring algorithm or a quantum computer, so the lasting fix is a different algorithm.
Frequently asked questions
What is the number field sieve?
The number field sieve is the fastest known general algorithm for factoring large integers, and therefore the best public attack on RSA. It collects a very large number of relations by sieving and then solves a huge linear system to find the factors. The class of its running time has not changed since about 1990.
What is the largest RSA number factored with the number field sieve?
RSA-896, an 896-bit number, factored on 19 September 2026 by Stephen Weis of Anthropic with Claude, which ported the CADO-NFS sieve software to GPUs. It took about 30 GPU-years over about 10 days. The record before 2026 was RSA-250, at 829 bits, from February 2020. RSA-1024 and RSA-2048 have never been factored in public.
Would a faster sieve break elliptic curves too?
Not by itself. The number field sieve attacks factoring and discrete logarithms in finite fields, so an improvement would likely weaken RSA, classic Diffie-Hellman and DSA together. Elliptic curves are outside that family: in forty years no one has found a method for standard curves that beats generic search.
Source analyses
References
- Stephen Weis: Factoring RSA-896 (19 September 2026)
- Cognition: Factoring RSA-260 (9 September 2026)
- Boudot and co-authors: the factorization of RSA-240 and RSA-250 (2020)