CVE-2026-12860

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*

History

28 Aug 2026, 16:35

Type Values Removed Values Added
First Time Bouncycastle bouncy Castle For Java Lts
Bouncycastle
Bouncycastle bc-java
References () https://github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396 - () https://github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396 - Patch
References () https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860 - () https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*

03 Aug 2026, 07:16

Type Values Removed Values Added
References
  • {'url': 'https://github.com/bcgit/bc-java/wiki/CVE-2026-12860', 'source': '91579145-5d7b-4cc5-b925-a0262ff19630'}
  • () https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860 -

03 Aug 2026, 04:16

Type Values Removed Values Added
New CVE

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

  • bc-java
  • bouncy_castle_for_java_lts
CWE
CWE-347

Improper Verification of Cryptographic Signature