2026-11-26 15:50 UTC

UCSD–Inria team demonstrates 1024-bit RSA forgery via raw oracle

state: significantheat: mediumuncertainty: mediumrelevance: highcryptography infrastructure-securityUCSD HACC

What is this?

Researchers Laura Shea, Miro Haller, Adam Suhl and Nadia Heninger of UC San Diego, with Emmanuel Thomé of Inria, report a large-scale implementation of the 2007 Joux–Naccache–Thomé attack. Their paper and public code describe using temporary access to a raw, unpadded RSA signing oracle for a 1024-bit key, about 2^32 oracle queries, and 1,380 CPU core-years over five months. They report that, without factoring the modulus or extracting the private key, this enables offline signature forgery for that key; the paper abstract also reports a further 180 core-years for a chosen forgery. The method is not new; the implementation and scale of the run are. The researchers say standard padded RSA signatures such as PKCS#1 v1.5 and RSA-PSS are not exposed to this attack, while blind-RSA uses and some raw-oracle interfaces may be. Secondary coverage describes the experiment as using an HSM, but the supplied primary-source excerpts do not establish that detail. The supplied sources do not show independent validation or real-world exploitation.

Why it matters

This is significant as a concrete demonstration that factoring-based estimates can miss a cheaper route to persistent signing capability when an attacker can query a raw RSA oracle. The result matters most for blind-signature protocols and exposed oracle interfaces, not ordinary correctly padded RSA signing. It supports reviewing those designs and their security margins; it does not establish an immediate general-purpose break of deployed RSA.

Current assessment

New evidence: the researchers publicly report implementing a previously known 2007 algorithm and completing a 1024-bit RSA demonstration, rather than discovering a new algorithm or factoring the key. The paper abstract and project material give 1,380 CPU core-years over five months and roughly 2^32 oracle queries; the abstract reports another 180 CPU core-years for an offline chosen forgery. The project compares this with an estimated 500,000–1,000,000 core-years to factor a 1024-bit modulus, but that comparison is an estimate, not a demonstrated factoring run. The researchers' own account says the attack requires a raw, unpadded signing/decryption oracle; it does not appear feasible against typical PKCS#1 v1.5 or RSA-PSS signing. They estimate a 2048-bit blind-RSA attack at 2^90 work and 2^43 queries, and suggest shorter key epochs or longer keys in the short term, zero-knowledge proofs as a possible medium-term mitigation, and post-quantum replacements longer term. These are researcher estimates and recommendations, not evidence of current compromise. Later search results include secondary reports alleging use of a Thales Luna HSM, but the supplied primary excerpts do not confirm the hardware or the claimed deployment context; treat that detail as unverified. A later November 7 HN item links a social-media claim about DeepMind agents finding two weaknesses in legacy 1024-bit RSA, but provides no linked primary evidence or details connecting it to this work; it is not confirmation of AI involvement or a new result. Track raw-oracle and blind-RSA exposure, the paper's exact oracle model, and any independently verified follow-up. The supplied evidence indicates no AI or GPUs were used in the reported computation.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1633h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-19 14:00⭐ origin echo-reconstructedThe paper’s abstract reports implementing the 2007 Joux–Naccache–Thomé attack for 1024-bit RSA: 1,380 CPU core-years over five months, 2^32
Laura Shea, Miro Haller, Adam Suhl, Nadia Heninger, and Emmanuel Thomé on paper (echo) · attributed from hn.story.49795537
—
09-22 00:58first on hacker news · published · +59.0hForging 1024-bit RSA signatures in nearly SNFS time
gslin
—
09-22 00:58amplified on hacker newshn.story.49795537
gslin
peak 4 · 0 comments · 4% of case engagement
09-24 14:26amplified on hacker news 👑hn.story.49831098
int0x29
peak 72 · 22 comments · 89% of case engagement
09-25 19:56amplified on hacker newshn.story.49849135
coreyp_1
peak 4 · 1 comments · 5% of case engagement
09-27 02:49amplified on hacker newshn.story.49862874
Garbage
peak 1 · 0 comments · 1% of case engagement
11-07 03:07amplified on hacker newshn.story.50401254
dvaplima
peak 2 · 0 comments · 2% of case engagement
09-22 01:20our radar first saw it · +59.3hdiscovery anchor: hn.story.49795537—

Evidence (6) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnForging 1024-bit RSA signatures in nearly SNFS time
Retrieved article excerpt

Open article · Retrieved 2026-09-22T01:22:01.114501+00:00

## Forging 1024-bit RSA signatures in nearly SNFS time

*Alternative title: Nearly SNFS-Speed Signature Forgery Sans Factoring N (NSNFSSSFSFN)*

This repository contains a [paper](https://github.com/ucsd-hacc/NSNFSSSFSFN/blob/main/paper.pdf) (eprint 2026/XXXX) and code implementing a variant of the number field sieve (NFS) algorithm.
It shows that an attacker can use *temporary* access to a raw, unpadded RSA signing/decryption oracle to gain the *permanent* ability to forge signatures / decrypt ciphertexts. In other words, the attacker can steal what is effectively the secret key (in that it can be used to sign/decrypt offline), but without actually factoring the public key, and using much less computation than factoring the public key would have taken.
This demonstrates that factoring-based estimates for RSA security may be too optimistic and should be revised, but likely does not pose an immediate operational threat to most deployed RSA in the real world.

**The algorithm is not polynomial-time.** It's not even close. It's "subexponential-time" which is the same class as the best factoring algorithms. However it manages to be a faster subexponential-time: "special" number field sieve rather than "general" number field sieve.
Factoring a 1024-bit modulus is predicted to take 500,000-1,000,000 core-years. Running this algorithm on a 1024-bit modulus took us 1,380 core-years.

**The algorithm is not new.** It was invented in 2007 by [Joux, Naccache, and Thomé](https://eprint.iacr.org/2007/424). However this is the first public implementation and large-scale run.
Most of the code is not new; it builds on [CADO-NFS](https://gitlab.inria.fr/cado-nfs/cado-nfs).

**The algorithm only works if a raw signing oracle is available.** Most RSA usage in practice (that is, RSA signatures using PKCS#1v1.5 or RSA-PSS padding) do not expose such an oracle, and thus this attack does not pose a practical risk. Examples of RSA use that do expose such a signing oracle would include blind RSA signatures (e.g. Privacy Pass) or HSM APIs.

### General FAQ

1. **Are people actually still using RSA?**   
   Yes, particularly for digital signatures (e.g. certificates, TLS handshakes, tokens, OAuth). Key exchange for protocols like TLS uses ECDH or has transitioned to ML-KEM, and the attack does not apply to these algorithms.
2. **Is there an immediate need to stop using RSA?**   
   No. The attack does not pose a practical risk for most uses of RSA. Even in the scenarios that might be vulnerable, we estimate that the attack cost for 2048-bit RSA is $2^{90}$. This is below the estimated $2^{112}$ cost to factor a 2048-bit RSA key, but is 1000 times more work than the estimated $2^{80}$ cost to factor a 1024-bit RSA key, and nobody has factored a 1024-bit RSA key in public yet. If you're still worried, elliptic curve cryptography (e.g. ECDSA or Ed25519 for signatures) does not appear to be vulnerable to this type of attack.
3. **Is there a non-immediate need to stop using RSA?**   
   In our opinion, yes. This attack shows that RSA key sizes up to 4096 bits do not meet modern cryptographic security levels. The ongoing transition to post-quantum cryptography provides an opportunity to move away from legacy cryptography like RSA altogether.
4. **What if I use 2048-bit keys for blind RSA (e.g. Privacy Pass)?**   
   The attack does apply. We estimate it would take $2^{90}$ work and $2^{43}$ oracle queries, which is likely below your desired security margin while being infeasible for all but the largest, most sophisticated adversaries to exploit. In the short term, you may consider shortening key epochs and increasing RSA key lengths. In the medium term, protocol designers could eliminate this attack vector by adding a zero-knowledge proof. In the long term, we hope that there will be acceptable post-quantum replacements for constructions like blind signatures.
5. **Can I compile this code and immediately forge 1024-bit RSA signatures?**   
   Only if you have access to significant computational resources. With our academic-sized CPU cluster it took us months to do the forgery computation. The amount of computation was somewhere between the RSA-240 and RSA-250 records.
6. **Can an AI/GPUs speed up this implementation?**   
   Almost certainly yes.
7. **Did you use AI/GPUs?**   
   No.
8. **I use 2048-bit keys with PKCS or PSS padding for signatures. Should I be worried?**   
   No, our attack does not seem to be feasible in this case.
9. **Why isn't this just the textbook RSA attack?**   
   This attack is more powerful, because the attacker can use the temporary ability to request signatures to steal abilities equivalent to having the secret key, without actually having the secret key. (That is, being able to forge any signature of their choice, offline, in the future.) Most of the work is a single precomputation that depends only on the public key; after this is finished individual signature forgeries are much more efficient to compute.
10. **Why, in September 2026, am I hearing about an algorithm from 2007?**   
    The 1024-bit computation we did took significant effort (see our paper for the hairy details). Relatively few researchers are working in this area, there is little funding, and the job market is more interested in students working in post-quantum cryptography (and now, AI). However, without this kind of computational work the algorithms would remain theoretical.
11. **What does `SNFS time` mean?**   
    "Special" number field sieve. This is also the running time to factor special-form integers like Mersenne numbers, which can be done more quickly than generic integers like well-formed RSA moduli. Read about it on [Wikipedia](https://en.wikipedia.org/wiki/Special_number_field_sieve) if you're curious.

### Special FAQ

12. **I use 1024-bit RSA and my modulus is `119761307924183143227323805033445425142683607945593313835302891299066516303843000359184032065280614739228104709307215190162897575231548821264285875476222037118119400262673724895150267064851629266552653543645482302630040586124860255443008330625425740446416414144702538281275665910057429738414800482721215922451`. What should I do?**   
    Change your key.
13. **When did you do this computation?**   
    The 1024-bit size took us several months. It finished on August 31, 2026.
gslin40
🟧 echo.paper ⭐The paper’s abstract reports implementing the 2007 Joux–Naccache–Thomé attack for 1024-bit RSA: 1,380 CPU core-years over five months, 2^32 Laura Shea, Miro Haller, Adam Suhl, Nadia Heninger, and Emmanuel Thomé——
🟧 hnForging 1024-bit RSA signatures in nearly SNFS time [pdf]int0x297222
🟧 hnForging 1024-bit RSA signatures in nearly SNFS timecoreyp_141
🟧 hnUcsd-Hacc/Nsnfsssfsfn: Nearly SNFS-Speed Signature Forgery Sans Factoring NGarbage10
🟧 hnDeepMind AI agents find two weaknesses in legacy 1024-bit RSA cryptosystemsdvaplima20

Interpretation history

Decision trace