CVE-2018-1000613
Deserialization of Untrusted Data in Bouncy castle
Also known as GHSA-4446-656p-f54g
Mitigation
- Upgrade org.bouncycastle:bcprov-jdk15on to 1.60 or later.
Who should check
- Projects that depend on Maven package org.bouncycastle:bcprov-jdk15on (>= 1.57, < 1.60)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.bouncycastle:bcprov-jdk15on >= 1.57, < 1.60
- Fixed in
- 1.60
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 4.77% chance of exploitation in 30 days (percentile 93, 2026-11-26)
- CWE
- CWE-470
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.bouncycastle:bcprov-jdk15on | >= 1.57, < 1.60 | 1.60 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-1000613. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-1000613.md Affected: org.bouncycastle:bcprov-jdk15on >= 1.57, < 1.60 Fixed in: 1.60 Steps: 1. Search this machine and project for org.bouncycastle:bcprov-jdk15on (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://github.com/bcgit/bc-java/commit/4092ede58da51af9a21e4825fbad0d9a3ef5a223#diff-2c06e2edef41db889ee14899e12bd574
- https://github.com/bcgit/bc-java/commit/cd98322b171b15b3f88c5ec871175147893c31e6#diff-148a6c098af0199192d6aede960f45dc
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://github.com/bcgit/bc-java/commit/cc9f91c41be67e88fca4e38f4872418448950fd9
Other
- https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache.org%3E
- https://security.netapp.com/advisory/ntap-20190204-0003/
- https://github.com/bcgit/bc-java
- https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3E
- https://security.netapp.com/advisory/ntap-20190204-0003
FAQ
Is CVE-2018-1000613 being exploited?
There is no confirmed exploitation: CVE-2018-1000613 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.77% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-1000613?
Critical: CVSS 9.8 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2018-1000613?
org.bouncycastle:bcprov-jdk15on >= 1.57, < 1.60.
Is there a fix for CVE-2018-1000613?
Yes. Fixed in 1.60. Upgrade org.bouncycastle:bcprov-jdk15on to 1.60 or later.
How do I check if I'm affected by CVE-2018-1000613?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.