Improper Verification of Cryptographic Signature Affecting bouncycastle package, versions <0:1.70-4.amzn2023.0.9


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-BOUNCYCASTLE-22397238
  • published10 Nov 2026
  • disclosed3 Aug 2026

Introduced: 3 Aug 2026

CVE-2026-12860  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 bouncycastle to version 0:1.70-4.amzn2023.0.9 or higher.
This issue was patched in ALAS2023-2026-3405.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bouncycastle package and not the bouncycastle package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1