RSA after
the oracle.
Faster roots. More revealing interfaces.
The economics of attacking many keys.
Two Google DeepMind papers advance classical RSA research in different ways. One reports a completed 1024-bit computation and improves attacks with temporary signing access. The other lowers the estimated cost of factoring many same-size integers after shared preparation. Neither demonstrates a practical break of RSA-2048 or larger keys.
The same RSA equation.
Two different attacker advantages.
RSA starts with a public number N, normally the product of two secret primes. Given a representative x, anyone can compute xe modulo N. Reversing that operation means finding a modular root. A private-key holder can do it efficiently. Factoring N is the usual general route to gaining that ability.
The first paper studies a different starting point: an attacker can temporarily ask a service to return roots for chosen inputs under one target key. Cryptographers call such a service an oracle. It might model a raw RSA interface or an interface that adds a fixed format to caller-controlled bytes. The attacker prepares reusable data while access exists, loses that access, and only then receives a fresh target. Root paper, introduction and Figure 1 ↗
- 01 / PrepareCollect relations and query the target key.
- 02 / Cut offThe oracle becomes unavailable.
- 03 / ChallengeA new target is selected.
- 04 / ComputeFind its root using saved data and more work.
The second paper studies many different moduli. It shares part of a factoring computation across integers of the same size. There is no signing oracle. The resource being reused is a mathematical precomputation, rather than temporary access to a secret key. Keeping these two forms of reuse separate is essential to understanding the results.
391 core-years, compressed into days
In September, Shea, Haller, Suhl, Heninger and Thomé reported an oracle-assisted RSA-1024 forgery using a method originating with Joux, Naccache and Thomé in 2007. Their first root cost about 1,380 CPU core-years. The new team reran the same algorithm, modulus, polynomials and factor-base bounds, reporting 391 CPU core-years for the first root. That is about 3.5 times less CPU work. This part of the paper is an engineering improvement on an existing attack. Root paper, Sections 5.1 to 5.3 ↗
| Stage | Earlier run | New run |
|---|---|---|
| Preparation | 1,200 | 318 |
| First target after preparation | 180 | 73 |
| First root, total | 1,380 | 391 |
The new CPU total excludes 7.5 core-years of trials and probes. Linear algebra used GPUs: about 330 GPU-hours reserved, roughly 100 busy. The paper reports a roughly 3.3× comparison when it adds the trials and charges that GPU stage at the earlier run's CPU cost. These are different accounting choices, not interchangeable measurements. Table 2 and Section 5.3 ↗
A core-year measures work: one core running for a year. It is not a calendar-year deadline. The authors used up to about 300,000 CPU cores and 16 GPUs. The run took 3.2 days from the first full-scale sieving job to the verified root, or 3 days and 22 hours from the start of design. The leap from five months to days mostly reflects parallel execution; the 3.5× CPU reduction measures a different improvement.
The oracle is a major condition
The experiment made 4,055,916,065 oracle queries before selecting the target. A separate software oracle held the factors and answered requests. The attack computation did not receive those factors. Its 20-minute query batch is therefore not a benchmark of a deployed hardware security module. Oracle access ended before the fresh target was derived from a public seed.
The oracle happened to accept small integers, with the largest query only 182 bits. Those inputs cover what this unrestricted algorithm needs. That does not demonstrate the new attack on a short, caller-controlled field behind an arbitrary fixed prefix.
The authors checked the resulting equation x65537 ≡ t (mod N). This site has not reproduced that new computation or independently verified its root: the supplied working paper does not include the complete new witness. This is also not a factorization of the RSA-1024 challenge number. Root paper, computation and oracle setup ↗
Where the AI contribution fits
The authors describe a supervisor and an executor model designing, running and debugging the computation, with about 33,500 lines of new code, 336 distributed experiments and about 20 short human messages. These are reported workflow measurements. The paper labels the models A and B; it does not establish a particular public model version. AI-assisted engineering and new mathematical results deserve separate evaluation. Root paper, Section 6 ↗
“Padded” is not a complete security boundary
A signing interface can fix most of an RSA input while letting a caller choose a smaller part. Write that input as c + z: c is fixed formatting and z is the caller's choice. This is an affine oracle. The new analysis asks how much control is enough to make it as useful as an unrestricted root oracle.
The idea exploits RSA's multiplication rule. If two permitted inputs have a chosen ratio modulo N, dividing their returned roots gives a root of that ratio. The authors turn the search for such a pair into a two-dimensional lattice problem, with randomization to make attempts succeed. The oracle calls still happen during preparation, before the later target is known. Root paper, Section 4 ↗
The transition is near half the block's bits. For a 1024-bit modulus, the theorem covers 65 caller-controlled bytes; a separate experiment finds the reduction effective with exactly 64. That distinction matters: the exact half-block case is supported by measurements, rather than the same unconditional bound.
| Interface or input | Control | What applies |
|---|---|---|
CKM_RSA_X_509 | Raw RSA representative | Unrestricted-oracle method. |
CKM_RSA_PKCS, long input | 65 to 117 arbitrary bytes | Proved reduction; two formatted queries simulate one unrestricted query. |
| Fixed format, supplied SHA-512-sized value | 64 arbitrary bytes | Measured threshold: 79.6% success per randomized attempt, about 1.26 attempts per simulated query. |
| Fixed format, supplied SHA-256-sized value | 32 arbitrary bytes | Shorter-window affine algorithm; theoretical improvement, no cryptographic-size execution. |
CKM_SHA256_RSA_PKCS | Message, hashed internally | Outside these chosen-input models: the caller does not choose arbitrary digest bytes. |
Scope: root paper, Sections 4.1 to 4.2 and Figure 5. The byte thresholds above are for 1024-bit RSA, not every key size. Two oracle calls per simulation also means a larger query budget than the unrestricted experiment.
Choosing a digest value is different from choosing a message. Finding a real message with an arbitrarily specified SHA-256 or SHA-512 digest would require a separate preimage attack. These papers do not provide one. An application that hashes messages before signing can enforce that boundary too, provided the caller cannot bypass it through another interface using the same key.
Nor should this fixed-format analysis be generalized to RSA-PSS. Its encoding has a different structure. RFC 8017 even discusses why PSS's security proof permits hashing outside the module. The relevant question is the complete permitted operation and the caller's control, rather than a blanket rule that all externally supplied hashes are equivalent. RFC 8017, Section 9.1, Note 3 ↗
The exact threshold, for technical readers
For offsets satisfying |z| ≤ Z, Theorem 4.1 uses Z ≥ 2.08√N. For a one-sided window 0 ≤ z < W, it gives W ≥ 4.16√N + 2, two oracle calls and at most two randomization attempts on average. Corollary 4.2 lowers the asymptotic constant to a window larger than 2.3√N with constant success probability.
The measured 64-byte window is W = 2512, below that formal bound for a 1024-bit modulus. Below the square-root scale, a counting bound for this ratio method deteriorates by a factor of four for each lost input bit. It is not a lower bound against every possible attack. The format-reduction theorem does not rely on the NFS heuristics used elsewhere in the paper.
A faster method for shorter inputs
A 32-byte caller-controlled value at 1024 bits leaves a harder problem than the half-block case. The first paper improves the affine modular root algorithm itself. It combines early-abort smoothness testing, which stops spending effort on unlikely candidates, with an extended store of small-factor relations that makes later root extraction cheaper.
“Smooth” means that an integer factors entirely into small primes. NFS-style methods collect enough useful smooth relations to solve a large algebraic problem. Testing candidates in stages can save work; doing more reusable preparation can also reduce the cost of each later target.
The results are stated in LN[1/3, c] notation. Roughly, the work grows as exp(c × (ln N)1/3 × (ln ln N)2/3), with lower-order terms suppressed. Lowering c can matter greatly at large sizes, but it does not directly specify dollars, core-years or elapsed time.
| Setting | Preparation c | Per-root c |
|---|---|---|
| Earlier affine method | ≤ 1.8171 | 1.8171 |
| New method, balanced for one target | 1.5803 | 1.5803 |
| More preparation | 1.5930 | 1.5263 |
| Limiting trade-off, many testing stages | 1.6373 | Approaches 1.3867 |
The cost of preparation must still be paid. Spreading it over many targets under the same modulus changes the average cost per root. The short-input algorithm has not been executed at cryptographic size; 391 core-years measures the separate unrestricted computation, not this new algorithm. Root paper, Table 1 and Theorem 3.1 ↗
A factory for many different keys
Fan Factories changes the unit of analysis from a single RSA modulus to a population of same-size moduli. In the number field sieve, useful relations need compatible smoothness properties on a rational side and an algebraic side. A factorization factory performs reusable rational-side work once, then uses it for different target integers.
The new construction gives each target a fan of number fields, offering more algebraic opportunities to use the shared rational work. It optimizes the size of that fan against the precomputation budget. The improvement appears in the trade-off between the up-front investment and the cost of each additional target. Fan Factories, introduction and Theorem 3.3 ↗
- Modulus AIts own fan of fieldsIts own factorization
- Modulus BIts own fan of fieldsIts own factorization
- Modulus CIts own fan of fieldsIts own factorization
With a preparation budget comparable to one GNFS factorization at the target size, the heuristic per-target exponent falls from about 1.9019 for the multiple number field sieve (MNFS) to 1.7929. Setting the lower-order terms to zero at 1024 bits gives a per-target cost around 1/58.5 of a GNFS run, or about 30.2 times less than MNFS. These are leading-order model comparisons, not measured speedups.
The up-front bill stays in the calculation
Using the paper's rounded 1024-bit estimates, factoring M targets costs approximately 1 + M/58.5 GNFS units with the factory, versus M/1.94 with independent MNFS runs. The “1” is the shared preparation. It cannot be discarded when describing the first key.
| Targets | Fan factory, including setup | Independent MNFS |
|---|---|---|
| 1 | 1.02 | 0.52 |
| 3 | 1.05 | 1.55 |
| 59 | 2.01 | 30.41 |
In this simplified model, the factory wins from three targets; at 59 targets, its average cost is within a factor of two of the eventual per-target limit. Neither threshold is a deployment-scale benchmark. Fan Factories, Section 4 ↗
The paper does not improve the best single-integer exponent when there is no shared work. With an unlimited preparation budget, it reaches the already-known Coppersmith factory floor rather than lowering it. Batch mode, where targets are processed together without storing a precomputed table, has a smaller gain: at most about 1.75× at 1024 bits in the same leading-order model.
Why the headline ratio is not a practical break
No fan factory has been implemented in this work. The analysis relies on standard NFS heuristics, suppresses lower-order costs, and does not establish where the method overtakes tuned software. Memory is another obstacle: its reusable table is roughly 275 pairs at 1024 bits in the leading-order estimate. That is a count of stored objects, not bytes.
The 2048-bit case still needs preparation as costly as factoring a 2048-bit integer. Lean 4 checks selected algebraic identities and feasibility witnesses behind the analysis; it does not prove the NFS heuristics or demonstrate a working factorization system. Fan Factories, scope and Table 3 ↗
What changes a decision?
The immediate operational lesson is to examine what each key is allowed to do. Record every signing and decryption interface, who can invoke it, whether it accepts arbitrary bytes or hashes messages itself, and whether another mechanism bypasses that boundary. A secure-looking application path does not describe the entire key's exposure.
RSA-1024 remains a poor choice for new protection. NIST's signature-transition guidance disallows it for generating new signatures and treats legacy verification separately. These papers add detail to that assessment; a missing public factorization of the RSA-1024 challenge is not an endorsement. NIST SP 800-131A Rev. 2, Section 3 ↗
For RSA-2048 and larger, these papers do not supply a demonstrated practical break. Key size, protocol profile, interface restrictions and quantum migration remain separate considerations. Our RSA-1024 and RSA-2048 verdicts remain unchanged. Neither result becomes a new point on the completed factoring frontier.
Sources and review limits
Both supplied PDFs identify themselves as working papers by Krishnamurthy (Dj) Dvijotham, Nadia Heninger, Owen Jones, Pushmeet Kohli, Borislav Kozlovskii, Shrinu Kushagra, Chirag Pabbaraju, Robert Stanforth, Abhradeep Thakurta, Emmanuel Thomé, Nenad Tomašev and Adam Zsolt Wagner. The affiliation is Google DeepMind, with additional university and Inria affiliations listed in the papers.
- Modular Roots from a Restricted Oracle: Faster Affine Roots and a 1024-bit Computation. 24-page working paper. Sections 3 and 4 separate heuristic AMR improvements from the format-reduction theorem; Sections 5 and 6 describe the measured run and AI workflow. The supplied PDF has no explicit publication date on its title page.
- Fan Factories: Multiple Number Fields in Factorization Factories and Batch NFS. 15-page working paper dated 5 November 2026. Theorems 3.3 and 3.4, Section 4 and Table 3 define the gains and their limits.
- Shea et al., Forging 1024-bit RSA signatures in nearly SNFS time. The earlier computation and baseline. Its separate site record retains the original reported costs and local witness-check scope.
- RFC 8017, Sections 9.1 and 9.2, for the distinction between RSA signature encodings; NIST SP 800-131A Rev. 2, Section 3, for signature key-length guidance.
Reviewed here: both full supplied PDFs, equations, tables, interface conditions and the small cost illustration above. Not reproduced here: the attack execution, new root witness, CPU/GPU measurements, Lean proofs or any fan-factory implementation. Some detailed proofs and artifacts are deferred to full versions by the working papers.