A large-scale demonstration of an attack that breaks RSA without prime factorization has been achieved, successfully forging a 1024-bit RSA signature.



A research team from the University of California, San Diego, and the French National Institute for Digital Science and Technology (Inria) has demonstrated in large-scale computational experiments that an attack can forge a 1024-bit RSA signature without factoring the RSA public key into its prime factors.

ucsd-hacc/NSNFSSSFSFN: Nearly SNFS-Speed Signature Forgery Sans Factoring N
https://github.com/ucsd-hacc/NSNFSSSFSFN

Nearly SNFS-Speed Signature Forgery Sans Factoring N (NSNFSSSFSFN)
(PDF file) https://eprint.iacr.org/2026/2131.pdf

There's a new way to break RSA that's faster than anything we've seen before - Ars Technica
https://arstechnica.com/security/2026/09/theres-a-new-way-to-break-rsa-thats-faster-than-anything-weve-seen-before/

RSA is a public-key cryptosystem that uses an integer created by multiplying two large prime numbers as part of its public key. The security of RSA is evaluated on the premise that 'prime factorization,' which breaks down a large integer into its original two prime numbers, is difficult, and the security for each key length has been estimated based on the computational complexity of prime factorization using the General Number Field Sieve (GNFS).



The research team implemented an algorithm called ' √e NFS ,' a type of number-body sieve (NFS). Although the method itself was proposed in 2007, the research team publicly implemented this algorithm for the first time in this experiment and performed large-scale calculations on 1024-bit RSA.

This method, by not performing prime factorization and allowing the temporary use of raw RSA signatures, gains the ability to forge arbitrary signatures afterward. Therefore, it suggests that under certain conditions, the security of RSA may be lower than estimated based on prime factorization.

However, √e NFS does not mean that RSA can be easily solved; the algorithm is still classified as quasi-exponential time , not polynomial time. In other words, the amount of computation required increases exponentially as the number of digits in the key increases, just as before. Nevertheless, it is faster than GNFS, which is used for prime factorization of general RSA, and operates with a computational complexity close to that of the special number field sieve (SNFS) used for prime factorization of integers of special forms.



The attack requires not only the public key but also temporary access to an 'oracle' that performs RSA signing or decryption. The attacker provides arbitrary input to the oracle and receives the raw RSA calculation result without padding. After gathering the necessary information from this query, the attacker can forge the signature even if they lose access to the oracle.

The attack proceeded in three stages: pre-computation, queries to the oracle, and signature forgery. In the 1024-bit RSA experiment, the pre-computation, which relied on the public key, required approximately 1200 CPU core years, equivalent to running one CPU core continuously for 1200 years. Subsequently, 232 queries (approximately 4 billion queries) were made to the oracle, bringing the system to a state where arbitrary signatures could be generated offline at approximately 180 CPU core years each. The entire process required approximately 1380 CPU core years, with an actual elapsed time of about 5 months.

In their demonstration experiment, the research team used a hardware security module (HSM) that securely stores private keys and signs them upon external requests. Instead of stealing the private key itself, the attacker repeatedly requested raw RSA signatures from the HSM to gather the necessary information. It was then confirmed that even if access to the HSM was lost, arbitrary signatures could still be forged.

Similarly, this attack could succeed in any system that allows raw RSA signatures to be accessed externally. The research team estimates that in this attack model, 'the security of 2048-bit RSA is reduced from the conventionally assumed 112 bits to approximately 90 bits, and even 4096-bit RSA does not reach the equivalent of 128 bits.'



However, typical RSA signatures involve 'padding,' which applies certain processing to the data before signing. This attack assumes that it can directly utilize raw RSA operations before such padding is applied. Therefore, the research team explains that 'for oracles that apply padding, such as PKCS#1 v1.5 and RSA-PSS, a significant speedup compared to prime factorization is unlikely, and it does not pose an immediate threat to most modern RSA operations.'

The research team stated that their findings suggest that 'evaluating RSA's security solely based on the difficulty of prime factorization may lead to an overestimation of its security in some applications.' They also added that these results provide one reason to completely abandon RSA as the transition to quantum-resistant cryptography progresses.

in Science,   Security, Posted by log1i_yk