Has it been Pwned
MathTheoretical impactMedium confidence

Restricted RSA oracles gain a format reduction and faster affine-root algorithms

A working paper shows when a fixed-format RSA root oracle can simulate unrestricted access and improves the algorithm for shorter caller-controlled fields. At 1024 bits, 65 controlled bytes fall within the proved reduction; exactly 64 bytes are supported by measurements. A separate heuristic analysis lowers the affine algorithm's balanced exponent from 1.8171 to 1.5803. No cryptographic-size affine run is reported.

Added 9 Nov 2026. Source review: 9 Nov 2026. Supplied working paper, Theorem 3.1, Section 4 and Figure 5 reviewed; proofs and cryptographic-size affine attack not independently reproduced. Corrections.

Read the full story: RSA after the oracle. The completed computation, interface analysis and many-key factoring estimates are explained separately.

Broken math. This entry concerns mathematics, algorithm design or parameter justification. Its stated scope distinguishes an attack from a defect in a security argument; a proof or accounting error alone does not establish practical key recovery.

Background

The attacker temporarily queries roots of inputs c + z under one fixed modulus, where c is fixed and z is caller-controlled. The oracle disappears before fresh random targets are chosen. By finding two allowed inputs with a selected ratio, the attacker obtains an unrestricted root from their returned roots. Theorem 4.1 proves a reduction with two oracle calls per simulated query for a one-sided window W at least 4.16 times sqrt(N) plus 2. Measurements at the exact 64-byte threshold for random 1024-bit moduli show 79.6% success per randomized attempt, rather than establishing the same theorem at that boundary.

CKM_RSA_PKCS accepts caller-supplied bytes inside a fixed PKCS#1 v1.5 format. Long arbitrary data, or an externally supplied SHA-512-sized value at 1024 bits, differs from an interface such as CKM_SHA256_RSA_PKCS that hashes the message internally. Choosing a message does not allow choosing its arbitrary digest; the papers do not break SHA-256 or SHA-512. An application can enforce the hash boundary if callers cannot bypass it through another mechanism using the same key. These fixed-format results should not be generalized to RSA-PSS's different encoding.

For shorter variable fields, Theorem 3.1 uses staged early-abort smoothness tests and factor-base extension. Under explicit NFS heuristics, preparation and per-root costs are both L_N[1/3, 1.5803] in the balanced setting. Larger preparation with exponent 1.5930 gives per-root exponent 1.5263; preparation exponent 1.6373 lets the per-root exponent approach 1.3867. These asymptotic improvements are distinct from the paper's completed 391-CPU-core-year unrestricted experiment. Larger-key costs remain estimates and neither oracle model implies a public-key-only practical RSA-2048 attack.

Sources

  1. paperModular Roots from a Restricted Oracle: Faster Affine Roots and a 1024-bit ComputationGoogle DeepMind working paper, Sections 3 and 4, storage.googleapis.com
  2. standardRFC 8017: PKCS #1 v2.2, signature encodingsIETF, rfc-editor.org