Skip to main content
VulnerabilityPublished Updated

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

Source GCVE Database

0
Authoritative record:CVE-2026-12860· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 1.85 soon.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.85, 2.73.12
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade BC-JAVA and Legion of the Bouncy Castle Inc./bcprov to 1.85; BC-LTS-JAVA and Legion of the Bouncy Castle Inc./bcprov-lts8on to 2.73.12.

Affected software

ProductAffectedFixed in
Legion of the Bouncy Castle Inc.BC-JAVAAffected
  • <1.85
Fixed in
  • 1.85
Legion of the Bouncy Castle Inc.BC-LTS-JAVAAffected
  • >=2.73.0 <2.73.12
Fixed in
  • 2.73.12
MavenLegion of the Bouncy Castle Inc./bcprovpkg:maven/Legion of the Bouncy Castle Inc./bcprovOther threatsAffected
  • <1.85
Fixed in
  • 1.85
MavenLegion of the Bouncy Castle Inc./bcprov-lts8onpkg:maven/Legion of the Bouncy Castle Inc./bcprov-lts8onOther threatsAffected
  • >=2.73.0 <2.73.12
Fixed in
  • 2.73.12

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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

Community reviews

Loading reviews…