# CVE-2026-12860: RSA PKCS\#1 verification skips last two hash bytes in NULL-omitted path

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-08-03 · Modified: 2026-08-03
- Aliases: UBUNTU-CVE-2026-12860, DEBIAN-CVE-2026-12860, CGA-9986-mphf-mphp, CGA-p77g-qvwp-jp3w
- Record: https://cvemate.com/vulnerability/CVE-2026-12860 · JSON: https://cvemate.com/vulnerability/CVE-2026-12860/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.171%, percentile 6.755%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard pinot (Chainguard): All versions (No fix recorded)
- bouncycastle bc-java: \< 1.85
- bouncycastle bouncy\_castle\_for\_java\_lts: ≤ 2.73.11
- debian bouncycastle (Debian): All versions (No fix recorded) \| \< 1.86-1
- ubuntu bouncycastle (Ubuntu): All versions (No fix recorded)
- legion of the bouncy castle inc. bc-java: \< 1.85
- legion of the bouncy castle inc. bc-lts-java: ≥ 2.73.0, \< 2.73.12

## References

- <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860>
- <https://github.com/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396>
- <https://ubuntu.com/security/CVE-2026-12860>
- <https://www.cve.org/CVERecord?id=CVE-2026-12860>
- <https://security-tracker.debian.org/tracker/CVE-2026-12860>
- <https://www.bouncycastle.org/download/bouncy-castle-java-lts/>
- <https://www.bouncycastle.org/download/bouncy-castle-java/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12860.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12860>
- <https://github.com/bcgit/bc-java>
- <https://github.com/bcgit/bc-lts-java>

---

Data as of 2026-12-05T04:45:04.745Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
