CVE-2026-12860 json
RSA PKCS#1 verification skips last two hash bytes in NULL-omitted path
published 2026-08-03 3 mo ago modified 2026-08-28 2 mo ago also EUVD-2026-52138
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Legion of the Bouncy Castle Inc. BC-JAVA 1.85
- Legion of the Bouncy Castle Inc. BC-LTS-JAVA 2.73.12
- bouncycastle Debian 14 1.86-1
debian advisories DEBIAN-CVE-2026-12860
- bouncycastle SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 1.85-150200.3.38.1
- bouncycastle SLES 16.0, SLES for SAP applications 16.0 1.85-160000.1.1
suse advisories SUSE-SU-2026:3559-1SUSE-SU-2026:23127-1SUSE-SU-2026:23150-1
- bouncycastle openSUSE Leap 16.0 1.85-160000.1.1
- bouncycastle openSUSE Tumbleweed 1.85-1.1
opensuse advisories openSUSE-SU-2026:21538-1openSUSE-SU-2026:11445-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-12860 updated cvss 7.5
org.bouncycastle/bc-java: org.bouncycastle/bc-lts-java: Bouncy Castle for Java: Cryptographic signature bypass in RSA PKCS#1 verification
-
Red Hat OpenShift Developer Tools and Services jenkins, jenkins-2-plugins Red Hat AMQ Broker 7 bcprov-jdk18on Red Hat build of Apache Camel 4 for Quarkus 3 bcprov-jdk18on Red Hat build of Apicurio Registry 3 bcprov-lts8on, bcprov-jdk18onaffected: workaround, no fix available
-
Red Hat JBoss Enterprise Application Platform 7 bcprov-jdk18onaffected: workaround, no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform 8 bcprov-jdk18onaffected: workaround, no fix available
-
Red Hat Single Sign-On 7 bcprov-jdk18onaffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Developer Tools and Services 4.12 ocp-tools-4/jenkins-rhel8 1792044326fixed: vendor fix RHSA-2026:88152
-
Red Hat OpenShift Developer Tools and Services 4.13 ocp-tools-4/jenkins-rhel8 1792044327fixed: vendor fix RHSA-2026:88149
-
Red Hat OpenShift Developer Tools and Services 4.14 ocp-tools-4/jenkins-rhel8 1792044382fixed: vendor fix RHSA-2026:88151
-
Red Hat OpenShift Developer Tools and Services 4.15 ocp-tools-4/jenkins-rhel8 1792044386fixed: vendor fix RHSA-2026:88150
show 18 moreshow fewer
-
Red Hat OpenShift Developer Tools and Services 4.16 ocp-tools-4/jenkins-rhel9 1792040287fixed: vendor fix RHSA-2026:88156
-
Red Hat OpenShift Developer Tools and Services 4.17 ocp-tools-4/jenkins-rhel9 1792040131fixed: vendor fix RHSA-2026:88159
-
Red Hat OpenShift Developer Tools and Services 4.18 ocp-tools-4/jenkins-rhel9 1792041514fixed: vendor fix RHSA-2026:88153
-
Red Hat OpenShift Developer Tools and Services 4.19 ocp-tools-4/jenkins-rhel9 1792040733fixed: vendor fix RHSA-2026:88158
-
Red Hat OpenShift Developer Tools and Services 4.20 ocp-tools-4/jenkins-rhel9 1792040081fixed: vendor fix RHSA-2026:88157
-
Red Hat OpenShift Developer Tools and Services 4.21 ocp-tools-4/jenkins-rhel9 1792040096fixed: vendor fix RHSA-2026:88155
-
Red Hat OpenShift Developer Tools and Services 4.22 ocp-tools-4/jenkins-rhel9 1792040428fixed: vendor fix RHSA-2026:88154
-
Red Hat Build of Apache Camel 3.33.3.SP2 bcprov-jdk18on 1.85.2.redhat-00001fixed: vendor fix RHSA-2026:70257
-
Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16fixed: vendor fix RHSA-2026:71675
-
Red Hat build of Keycloak 26.4 rhbk/keycloak-rhel9 26.4-29, rhbk/keycloak-rhel9-operator 26.4-30, rhbk/keycloak-operator-bundle 26.4.17-2fixed: vendor fix RHSA-2026:95760
-
Red Hat build of Keycloak 26.4.17fixed: vendor fix RHSA-2026:95759
-
Red Hat build of Keycloak 26.6 rhbk/keycloak-rhel9 26.6-24, rhbk/keycloak-rhel9-operator 26.6-24, rhbk/keycloak-operator-bundle 26.6.8-2fixed: vendor fix RHSA-2026:95762
-
Red Hat build of Keycloak 26.6.8fixed: vendor fix RHSA-2026:95761
-
Red Hat build of Quarkus 3.27.5.SP2fixed: vendor fix RHSA-2026:69470
-
Red Hat build of Quarkus 3.33.3.SP2fixed: vendor fix RHSA-2026:69440
-
Red Hat JBoss Enterprise Application Platform 8.1.8.GA bcprov-jdk18on 1.85.0.redhat-00001fixed: vendor fix RHSA-2026:70277
-
Red Hat OpenShift AI 2.25 rhoai/odh-modelmesh-rhel9 1790881700fixed: vendor fix RHSA-2026:87410
-
Red Hat OpenShift Developer Tools and Services 4.12 ocp-tools-4/jenkins-agent-base-rhel8 1792044376 Red Hat OpenShift Developer Tools and Services 4.13 ocp-tools-4/jenkins-agent-base-rhel8 1792044361 Red Hat OpenShift Developer Tools and Services 4.14 ocp-tools-4/jenkins-agent-base-rhel8 1792044402 Red Hat OpenShift Developer Tools and Services 4.15 ocp-tools-4/jenkins-agent-base-rhel8 1792044379 Red Hat OpenShift Developer Tools and Services 4.16 ocp-tools-4/jenkins-agent-base-rhel9 1792040156 Red Hat OpenShift Developer Tools and Services 4.17 ocp-tools-4/jenkins-agent-base-rhel9 1792040149not affected: vulnerable code not present
+6 more productsfewer
Red Hat OpenShift Developer Tools and Services 4.18 ocp-tools-4/jenkins-agent-base-rhel9 1792041201 Red Hat OpenShift Developer Tools and Services 4.19 ocp-tools-4/jenkins-agent-base-rhel9 1792040114 Red Hat OpenShift Developer Tools and Services 4.20 ocp-tools-4/jenkins-agent-base-rhel9 1792040274 Red Hat OpenShift Developer Tools and Services 4.21 ocp-tools-4/jenkins-agent-base-rhel9 1792039948 Red Hat OpenShift Developer Tools and Services 4.22 ocp-tools-4/jenkins-agent-base-rhel9 1792040297 Red Hat AMQ Clients bcpg-jdk18on, bcprov-jdk15on, bcprov-jdk18on, bcutil-jdk18on
20 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected products
- Legion of the Bouncy Castle Inc. BC-JAVA
- Legion of the Bouncy Castle Inc. BC-LTS-JAVA
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
github.com
/bcgit/bc-java/commit/ea5970ea9b2fb91d763b904692fd21089ca3e396
patch
-
github.com
/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012860
vendor-advisory, third-party-advisory
Sources
- CVE List CVE-2026-12860
- NVD CVE-2026-12860
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.