# CVE-2018-1000180: Bouncy Castle has a flaw in the Low-level interface to RSA key pair generator

- Severity: High 7.5 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.00%, higher than 87% of CVEs (2026-12-01)
- Published: 2018-06-05T13:00:00.000Z
- Modified: 2026-06-17T01:32:37.217Z
- Also known as: GHSA-xqj7-j8j5-f2xr
- Weaknesses: CWE-327
- Assigned by: mitre

## Description

Bouncy Castle BC 1.54 - 1.59, BC-FJA 1.0.0, BC-FJA 1.0.1 and earlier have a flaw in the Low-level interface to RSA key pair generator, specifically RSA Key Pairs generated in low-level API with added certainty may have less M-R tests than expected. This appears to be fixed in versions BC 1.60 beta 4 and later, BC-FJA 1.0.2 and later.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.bouncycastle:bcprov-jdk14 (Maven): before 1.60
- org.bouncycastle:bcprov-jdk15 (Maven): before 1.60
- org.bouncycastle:bcprov-jdk15on (Maven): before 1.60
- bouncycastle bc-java: from 1.54 up to 1.59
- bouncycastle fips_java_api: up to 1.0.1
- debian debian_linux: 9.0
- oracle api_gateway: 11.1.2.4.0
- oracle business_process_management_suite: 11.1.1.9.0; 12.1.3.0.0; 12.2.1.3.0
- oracle business_transaction_management: 12.1.0
- oracle communications_application_session_controller: 3.7.1; 3.8.0
- oracle communications_converged_application_server: before 7.0.0.1
- oracle communications_webrtc_session_controller: before 7.2
- oracle enterprise_repository: 12.1.3.0.0
- oracle managed_file_transfer: 12.1.3.0.0; 12.2.1.3.0
- oracle peoplesoft_enterprise_peopletools: 8.55; 8.56; 8.57
- oracle retail_convenience_and_fuel_pos_software: 2.8.1
- oracle retail_xstore_point_of_service: 7.0; 7.1
- oracle soa_suite: 12.1.3.0.0; 12.2.1.3.0
- oracle webcenter_portal: 11.1.1.9.0; 12.2.1.3.0
- oracle weblogic_server: 12.1.3.0.0
- netapp oncommand_workflow_automation: no versions given
- redhat virtualization: 4.2
- redhat jboss_enterprise_application_platform: 7.1.0

## Every score

- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://access.redhat.com/errata/RHSA-2018:2428> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2018:2669> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2018:2643> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2018:2424> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2018:2423> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2018:2425> (third-party-advisory, vendor-advisory, web)
- <https://www.debian.org/security/2018/dsa-4233> (third-party-advisory, vendor-advisory, web)
- <https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E> (mailing-list)
- <http://www.securityfocus.com/bid/106567> (third-party-advisory, vdb-entry, web)
- <https://access.redhat.com/errata/RHSA-2019:0877> (third-party-advisory, vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2020.html> (web)
- <https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html> (web)
- <https://www.oracle.com/security-alerts/cpuoct2020.html> (web)
- <https://www.bountysource.com/issues/58293083-rsa-key-generation-computation-of-iterations-for-mr-primality-test> (third-party-advisory, web)
- <https://github.com/bcgit/bc-java/commit/22467b6e8fe19717ecdf201c0cf91bacf04a55ad> (patch, third-party-advisory, web)
- <https://github.com/bcgit/bc-java/commit/73780ac522b7795fc165630aba8d5f5729acc839> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20190204-0003/> (patch, third-party-advisory)
- <https://github.com/bcgit/bc-java/wiki/CVE-2018-1000180> (web)
- <https://www.oracle.com/security-alerts/cpuApr2021.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1000180> (advisory)
- <https://security.netapp.com/advisory/ntap-20190204-0003> (web)
- <https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E> (web)
- <https://github.com/advisories/GHSA-xqj7-j8j5-f2xr> (advisory)

## Sources

- CVE List: [CVE-2018-1000180](https://www.cve.org/CVERecord?id=CVE-2018-1000180), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-xqj7-j8j5-f2xr](https://github.com/advisories/GHSA-xqj7-j8j5-f2xr), CC-BY-4.0, modified 2025-09-12
- NVD: [CVE-2018-1000180](https://nvd.nist.gov/vuln/detail/CVE-2018-1000180), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1000180 · Whole record: https://cve.day/CVE-2018-1000180.json · Rebuilt by cve.day 2026-11-25T22:57:38.121Z
