bouncycastle: lack of class checking in deserialization of XMSS/XMSS^MT private keys with BDS state information
Published Jul 9, 2018
9.8
CRITICALCVSS 3.1
EPSS 4.77%
Description
Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to but not including 1.60 contains a CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in XMSS/XMSS^MT private key deserialization that can result in Deserializing an XMSS/XMSS^MT private key can result in the execution of unexpected code. This attack appear to be exploitable via A handcrafted private key can include references to unexpected classes which will be picked up from the class path for the executing application. This vulnerability appears to have been fixed in 1.60 and later.
Affected products
No data.
Configuration 1
- ≥ 1.58 · < 1.60
Configuration 2
- n/a
Configuration 4
- 11.1.2.4.0
- 2.6.0
- 2.6.1
- 2.6.2
- 11.1.1.9.0
- 12.1.3.0.0
- 12.2.1.3.0
- 12.1.0
- 3.7.1
- 3.8.0
- < 7.0.0.1
- 7.0.0.1
- 3.0.2
- 8.0.0
- 8.1
- 8.2
- 8.2.1
- < 7.2
- 7.2
- 12.2.1.3.0
- 12.1.0.5.0
- 13.2.0.0
- 13.3.0.0
- 13.2.0.0
- 13.3.0.0
- 11.1.1.7.0
- 12.1.3.0.0
- 12.1.3.0.0
- 12.2.1.3.0
- 8.55
- 8.56
- 8.57
- 2.8.1
- 7.0
- 7.1
- 12.1.3.0.0
- 12.2.1.3.0
- 1.12.0.3
- 2.3.0.0
- 2.3.0.1
- 2.3.0.2
- 11.1.1.9.0
- 12.2.1.3.0
- 12.2.1.3
No data.
JBoss Developer Studio 11
bouncycastle
Not affected
Red Hat Fuse 7
jclouds-bouncycastle
Not affected
Red Hat JBoss Data Virtualization 6
bouncycastle
Will not fix
Red Hat JBoss Enterprise Application Platform 7
bouncycastle
Not affected
Red Hat JBoss Fuse 6
jclouds-bouncycastle
Not affected
Red Hat Satellite 6
bouncycastle
Not affected
Red Hat Software Collections
rh-eclipse46-bouncycastle
Not affected
Red Hat Subscription Asset Manager
bouncycastle
Not affected
Red Hat Virtualization 4
eap7-bouncycastle
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| JBoss Developer Studio 11 | bouncycastle | Not affected | n/a |
| Red Hat Fuse 7 | jclouds-bouncycastle | Not affected | n/a |
| Red Hat JBoss Data Virtualization 6 | bouncycastle | Will not fix | n/a |
| Red Hat JBoss Enterprise Application Platform 7 | bouncycastle | Not affected | n/a |
| Red Hat JBoss Fuse 6 | jclouds-bouncycastle | Not affected | n/a |
| Red Hat Satellite 6 | bouncycastle | Not affected | n/a |
| Red Hat Software Collections | rh-eclipse46-bouncycastle | Not affected | n/a |
| Red Hat Subscription Asset Manager | bouncycastle | Not affected | n/a |
| Red Hat Virtualization 4 | eap7-bouncycastle | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The XMSS/XMSS^MT algorithms were first introduced in upstream bouncycastle version 1.57. Versions prior to this, that have not had the new algorithms back-ported, are not affected.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Jan 29, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (29 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 4.77% (0.04767) | 91.64th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.90% (0.04899) | 90.94th | v5 (v2026.06.15) |
| Dec 28, 2025 | 4.04% (0.04043) | 88.15th | v4 (v2025.03.14) |
| Dec 27, 2025 | 5.45% (0.05449) | 89.92th | v4 (v2025.03.14) |
| Nov 21, 2025 | 4.04% (0.04043) | 88.02th | v4 (v2025.03.14) |
| Nov 18, 2025 | 5.77% (0.05769) | 89.54th | v4 (v2025.03.14) |
| Oct 28, 2025 | 4.04% (0.04043) | 88.00th | v4 (v2025.03.14) |
| Oct 27, 2025 | 5.45% (0.05449) | 89.75th | v4 (v2025.03.14) |
| Oct 4, 2025 | 4.04% (0.04043) | 88.02th | v4 (v2025.03.14) |
| Oct 1, 2025 | 5.74% (0.05742) | 90.12th | v4 (v2025.03.14) |
| Sep 8, 2025 | 7.68% (0.07679) | 91.55th | v4 (v2025.03.14) |
| Jul 30, 2025 | 6.21% (0.06209) | 90.49th | v4 (v2025.03.14) |
| May 20, 2025 | 4.74% (0.04740) | 88.84th | v4 (v2025.03.14) |
| May 15, 2025 | 6.14% (0.06142) | 90.29th | v4 (v2025.03.14) |
| Mar 30, 2025 | 4.70% (0.04704) | 88.35th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.22% (0.19219) | 92.40th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.70% (0.04704) | 88.64th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.52% (0.00518) | 77.54th | v3 (v2023.03.01) |
| Jun 18, 2024 | 0.56% (0.00559) | 77.71th | v3 (v2023.03.01) |
| Apr 10, 2024 | 0.57% (0.00567) | 77.48th | v3 (v2023.03.01) |
| Jan 25, 2024 | 0.57% (0.00567) | 75.46th | v3 (v2023.03.01) |
| Nov 30, 2023 | 0.61% (0.00613) | 76.32th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.55% (0.00549) | 74.82th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.51% (0.00507) | 73.57th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.70% (0.00697) | 77.16th | v3 (v2023.03.01) |
| Mar 6, 2023 | 5.93% (0.05930) | 90.52th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.93% (0.05930) | 77.46th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.28% (0.04282) | 74.65th | v5 (v2026.06.15) |
| Apr 14, 2021 | 3.94% (0.03937) | 0.00th | v1 |
References (18)
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00011.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-1000613 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1601096 Issue Tracking
- https://github.com/advisories/GHSA-4446-656p-f54g Advisory
- https://github.com/bcgit/bc-java/commit/4092ede58da51af9a21e4825fbad0d9a3ef5a223#diff-2c06e2edef41db889ee14899e12bd574 x_refsource_CONFIRMPatch
- https://github.com/bcgit/bc-java/commit/cc9f91c41be67e88fca4e38f4872418448950fd9
- https://github.com/bcgit/bc-java/commit/cd98322b171b15b3f88c5ec871175147893c31e6#diff-148a6c098af0199192d6aede960f45dc x_refsource_CONFIRMPatch
- https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000613
- https://security.netapp.com/advisory/ntap-20190204-0003 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-1000613
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2020.html x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html x_refsource_CONFIRMPatchThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html x_refsource_MISCPatchThird Party Advisory
Change history (0)
No recorded changes yet.