In Bouncy Castle for Java before 1.85, RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path. This issue also affects Bouncy Castle for Java LTS before 2.73.12.
References
| Link | Resource |
|---|---|
| https://github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396 | Patch |
| https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-08-03 04:16
Updated : 2026-08-28 16:35
NVD link : CVE-2026-12860
Mitre link : CVE-2026-12860
CVE.ORG link : CVE-2026-12860
JSON object : View
Products Affected
bouncycastle
- bouncy_castle_for_java_lts
- bc-java
CWE
CWE-347
Improper Verification of Cryptographic Signature
