cve.bz

CVE-2025-14813 legion of the bouncy castle inc. bc-java

9.3 criticalEPSS 0.3%Fix available

Critical (9.3) in legion of the bouncy castle inc. bc-java. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.bouncycastle:bcprov-jdk18on 1.80.2, 1.81.1, 1.84.

On this page
: Use of a Broken or Risky Cryptographic Algorithm vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA bcprov on all (core modules). This vulnerability is associated with program files G3413CTRBlockCipher. This issue affects BC-JAVA: from 1.59 before 1.80.2, from 1.81 before 1.81.1, from 1.82 before 1.84.

Severity

CVSS 4.0

9.3 critical
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/RE:M/U:Red

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-327 Use of a Broken or Risky Cryptographic Algorithm
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • org.bouncycastle:bcprov-jdk18on (Maven): fixed in 1.80.2, 1.81.1, 1.84
  • org.bouncycastle:bcprov-jdk14 (Maven): fixed in 1.84
  • org.bouncycastle:bcprov-jdk15to18 (Maven): fixed in 1.84
  • org.bouncycastle:bcprov-debug-jdk14 (Maven): fixed in 1.84
  • org.bouncycastle:bcprov-debug-jdk15to18 (Maven): fixed in 1.84
  • org.bouncycastle:bcprov-debug-jdk18on (Maven): fixed in 1.84
  • Red Hat, openSUSE: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-14813 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-14813?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-14813?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-14813 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.59 before 1.80.2
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.81 before 1.81.1
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.82 before 1.84

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk14>=1.59 <=1.80.1no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk15to18>=1.59 <=1.80.1no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk18on>=1.59 <1.80.21.80.2
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk14>=1.59 <=1.80.1no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk15to18>=1.59 <=1.80.1no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk18on>=1.59 <=1.80.1no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-ext-jdk14>=1.59 <=1.78.1no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-ext-jdk15to18>=1.59 <=1.78.1no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-ext-jdk18on>=1.59 <=1.78.1no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-ext-debug-jdk14>=1.59 <=1.74no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-ext-debug-jdk15to18>=1.59 <=1.77no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-ext-debug-jdk18on>=1.59 <=1.77no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk141.81.0no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk15to181.81.0no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk18on>=1.81.0 <1.81.11.81.1
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk141.81.0no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk15to181.81.0no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk18on1.81.0no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk14>=1.82 <1.841.84
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk15to18>=1.82 <1.841.84
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk18on>=1.82 <1.841.84
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk14>=1.82 <1.841.84
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk15to18>=1.82 <1.841.84
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk18on>=1.82 <1.841.84
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-debug-jdk15on<=1.7.0no fix published
GHSA-574f-3g2m-x479Mavenorg.bouncycastle:bcprov-jdk15on<=1.7.0no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu25.10, 26.04:LTS, 26.10 and 5 morebouncycastleno fix listedUBUNTU-CVE-2025-14813
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-activemq-artemis, eap8-activemq-artemis-cli, eap8-activemq-artemis-dto and 12 more0:2.40.0-6.redhat_00012.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-angus, eap8-angus-mail0:2.0.5-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-angus-activation0:2.0.3-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-bouncycastle, eap8-bouncycastle-pg, eap8-bouncycastle-pkix and 3 more0:1.84.0-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-eap-product-conf-parent, eap8-eap-product-conf-wildfly-ee-feature-pack0:801.6.0-1.GA_redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-guava, eap8-guava-libraries0:33.0.0-3.jre_redhat_00004.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-guava-failureaccess0:1.0.3-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-hal-console0:3.7.19-1.Final_redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-hibernate, eap8-hibernate-core, eap8-hibernate-envers0:6.6.48-1.Final_redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-hibernate-search, eap8-hibernate-search-engine, eap8-hibernate-search-mapper-orm and 4 more0:7.2.6-1.Final_redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-jakarta-activation0:2.1.4-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hatjboss_enterprise_application_platform:8.1::el8eap8-jboss-logging0:3.6.2-1.Final_redhat_00001.1.el8eapRHSA-2026:18054
51 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedbouncycastle1.84-1.1openSUSE-SU-2026:10571-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this flaw, an attacker needs to capture ciphertext encrypted by the `GOSTCTR` implementation where the `G3413CTRBlockCipher` processed more than 255 blocks of data, resulting in keystream reuse. An attack typically requires capturing these overlapping ciphertexts to perform cryptanalysis and uncover the underlying data.

The primary impact of this vulnerability is the potential loss of confidentiality for data encrypted by the `GOSTCTR` implementation. This can compromise encrypted communications or sensitive stored data by allowing an attacker to fully recover the plaintext.

Red Hat's mitigation

To mitigate this vulnerability, strictly limit the payload encrypted under a single key and Initialization Vector (IV) pair using the GOSTCTR implementation and G3413CTRBlockCipher to a maximum of 255 blocks. Alternatively, transition to a more secure, standardized and authenticated encryption mode.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7.12.7bcprov-jdk18onFixed 2026-05-06RHSA-2026:14276
Red Hat AMQ Broker 7.13.5bcprov-jdk18onFixed 2026-05-06RHSA-2026:14272
Red Hat AMQ Broker 7.14.1bcprov-jdk18onFixed 2026-09-10RHSA-2026:66488
Red Hat Build of Apache Camel 4.14 for Quarkus 3.27bcprov-jdk18onFixed 2026-05-05RHSA-2026:13631
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcprov-debug-jdk15onFixed 2026-05-14RHSA-2026:17668
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcprov-jdk15onFixed 2026-05-14RHSA-2026:17668
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcprov-jdk18onFixed 2026-05-14RHSA-2026:17668
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcprov-lts8onFixed 2026-05-14RHSA-2026:17668
Red Hat build of Quarkus 3.20.6.SP1org.bouncycastle/bcprov-jdk18on:1.84.0.redhat-00001Fixed 2026-05-05RHSA-2026:11720
Red Hat build of Quarkus 3.27.3.SP1org.bouncycastle/bcprov-jdk18on:1.84.0.redhat-00001Fixed 2026-05-05RHSA-2026:11721
Cryostat 4bcprov-jdk18onNot affected
OpenShift Developer Tools and ServicesjenkinsAffected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
Red Hat AMQ Broker 7bcprov-jdk15onNot affected
Red Hat AMQ Clientsbcprov-jdk15onNot affected
Red Hat AMQ Clientsbcprov-jdk18onAffected
Red Hat build of Apache Camel 4 for Quarkus 3bcprov-jdk18onAffected
Red Hat build of Apicurio Registry 3bcprov-jdk18onNot affected
Red Hat build of Apicurio Registry 3bcprov-lts8onNot affected
Red Hat build of Debezium 3bcprov-ext-jdk15onWill not fix
85 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-14813.

Attack patterns (CAPEC)

  • CAPEC-20 Encryption Brute Forcing Likelihood: Low · Severity: Low
  • CAPEC-97 Cryptanalysis Likelihood: Low · Severity: Very High
  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-473 Signature Spoof
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High
  • CAPEC-608 Cryptanalysis of Cellular Encryption Severity: High
  • CAPEC-614 Rooting SIM Cards Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON