Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-12860: In Bouncy Castle for Java before 1.85, RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path

25
Routine
MEDIUM 5.3REMOTEUPGRADEUPGRADE

CVE-2026-12860 is a medium-severity flaw (CVSS 5.3) affecting bc-java, bouncy castle for java lts. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.3 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.2% (top 94%)
CISA exploited listNo
WeaknessCWE-347
Published2026-08-03
Last modified2026-08-28
Publisher (CNA): bcorg · Vendor: bouncycastle

Share: LinkedIn · X · Reddit

Last updated 2026-08-28 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

bouncycastle bc-java UPGRADE
Affected: < 1.85
Fixed in: 1.85
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy bc-java || rpm -q bc-java || bc-java --version
2. UPGRADE to 1.85 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade bc-java
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade bc-java
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
bouncycastle bouncy castle for java lts UPGRADE
Affected: <= 2.73.11
Fixed in: newer than 2.73.11
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy bouncy-castle-for-java-lts || rpm -q bouncy-castle-for-java-lts || bouncy-castle-for-java-lts --version
2. UPGRADE to newer than 2.73.11 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade bouncy-castle-for-java-lts
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade bouncy-castle-for-java-lts
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-12860?

bc-java: upgrade to 1.85; bouncy castle for java lts: upgrade to newer than 2.73.11. Exact commands for each OS are on this page.

Is CVE-2026-12860 being exploited?

CVE-2026-12860 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-12860 affect?

CVE-2026-12860 affects bc-java, bouncy castle for java lts. Severity is medium (CVSS 5.3). 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.

How urgent is CVE-2026-12860?

Priority 25/100. Remotely exploitable, no login, no user action

Software pages

Java vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.