RSA signature padding
RSA PKCS#1 v1.5 signatures
The scheme holds; lax signature parsers let attackers forge e=3 signatures.
Deployment assessment
Use with a migration plan
Retain only where the protocol requires it; RFC 8017 requires PSS in new applications.
- Intended use
- Compatibility with existing RSA signature protocols.
- Conditions
- Use a current digest, adequate modulus and strict verification. A sound encoding does not protect a shared key exposed through a raw-RSA interface.
Guidance reviewed 19 Oct 2026. Deployment guidance and linked specification checked; this is not a new exhaustive cryptanalysis survey. How to read this assessment.
Cryptanalytic assessment
Implementation failures, repeatedly. Bleichenbacher's 2006 forgery and BERserk (2014) exploited verifiers that did not check the padding strictly when the public exponent is 3. Correctly implemented, PKCS#1 v1.5 signatures have no known practical attack, and the 2026 oracle attack does not apply to them.
- Quantum
- Quantum-vulnerable. A large fault-tolerant quantum computer running Shor's algorithm breaks it outright.
- Names and historical labels
- RSASSA-PKCS1-v1_5, RSA signatures, RS256
Standards and construction references
Evidence for the verdict
- Implementation(not the math)Bleichenbacher's e=3 signature forgery against sloppy PKCS#1 v1.5 verifiersAt the CRYPTO 2006 rump session Daniel Bleichenbacher showed that many RSA signature verifiers checked the PKCS#1 v1.5 prefix and hash but not that the hash sat right-justified at the end of the block. With public exponent 3, an attacker can then craft a value whose cube root is an integer, forging signatures (and certificates) with pencil-and-paper effort. OpenSSL (CVE-2006-4339), NSS and others were affected.
- Implementation(not the math)BERserk: RSA signature forgery in Mozilla NSSMozilla disclosed that NSS, used by Firefox and (then) Chrome, parsed the ASN.1 DigestInfo inside RSA PKCS#1 v1.5 signatures too leniently, allowing a variant of Bleichenbacher's 2006 e=3 forgery. Found independently by Antoine Delignat-Lavaud (Inria) and Intel Security's Advanced Threat Research team, who named it BERserk.
Case file
Every event on file that names RSA PKCS#1 v1.5 signatures.
3 case files, newest first.
2020s
- MathTheoreticalRestricted RSA oracles gain a format reduction and faster affine-root algorithms
RSA-1024 / RSA-2048 / RSA-4096 / RSA PKCS#1 v1.5 signatures
2010s
- ImplementationPracticalBERserk: RSA signature forgery in Mozilla NSS
RSA PKCS#1 v1.5 signatures (e=3)
2000s
- ImplementationPracticalBleichenbacher's e=3 signature forgery against sloppy PKCS#1 v1.5 verifiers
RSA PKCS#1 v1.5 signatures (e=3)