Vulnerabilities in pkg:maven/org.bouncycastle/bcprov-jdk15on

PACKAGE
Advisory Identifier: GHSA-574f-3g2m-x479
Advisory Summary

CVE-2025-14813 is a CRITICAL (CVSS 7.5) bouncy castle for java gost vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Bouncy Castle libraries in the Maven ecosystem. The issue involves bouncy castle for java gost 28147 ctr mode reuses keystream after 255 blocks. Remediation is available by upgrading affected packages to version 1.80.2, 1.81.1, 1.84.

25 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.bouncycastle/bcprov-jdk15on

25 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.bouncycastle/bcprov-jdk15on. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-574f-3g2m-x479 CVE-2025-14813 CRITICAL Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks
GHSA-4h8f-2wvx-gg5w CVE-2024-34447 MODERATE Bouncy Castle Java Cryptography API vulnerable to DNS poisoning
GHSA-4mv7-cq75-3qjm CVE-2015-7940 MODERATE Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15
GHSA-r97x-3g8f-gx3m CVE-2016-1000340 HIGH The Bouncy Castle JCE Provider carry a propagation bug
GHSA-4vhj-98r6-424h CVE-2016-1000338 HIGH In Bouncy Castle JCE Provider it is possible to inject extra elements in the sequence making up the signature and still have it validate
GHSA-xqj7-j8j5-f2xr CVE-2018-1000180 HIGH Bouncy Castle has a flaw in the Low-level interface to RSA key pair generator
GHSA-w285-wf9q-5w69 CVE-2016-1000352 HIGH In Bouncy Castle JCE Provider the ECIES implementation allowed the use of ECB mode
GHSA-fjqm-246c-mwqg CVE-2016-1000346 LOW In Bouncy Castle JCE Provider the other party DH public key is not fully validated
GHSA-9gp4-qrff-c648 CVE-2016-1000345 MODERATE Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15
GHSA-2j2x-hx4g-2gf4 CVE-2016-1000344 HIGH In Bouncy Castle JCE Provider the DHIES implementation allowed the use of ECB mode
GHSA-rrvx-pwf8-p59p CVE-2016-1000343 HIGH In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values
GHSA-r9ch-m4fh-fc7q CVE-2016-1000341 MODERATE Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15
GHSA-c8xf-m4ff-jcxj CVE-2016-1000339 MODERATE Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15
GHSA-qcj7-g2j5-g7r3 CVE-2016-1000342 HIGH In Bouncy Castle JCE Provider ECDSA does not fully validate ASN.1 encoding of signature on verification
GHSA-6xx3-rg99-gc3p CVE-2020-15522 MODERATE Timing based private key exposure in Bouncy Castle
GHSA-72m5-fvvv-55m6 CVE-2020-26939 MODERATE Observable Differences in Behavior to Error Inputs in Bouncy Castle
GHSA-4446-656p-f54g CVE-2018-1000613 CRITICAL Deserialization of Untrusted Data in Bouncy castle
GHSA-8xfc-gm6g-vgpv CVE-2024-29857 MODERATE Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.
GHSA-v435-xc8x-wvr9 CVE-2024-30171 MODERATE Bouncy Castle affected by timing side-channel for RSA key exchange ("The Marvin Attack")
GHSA-wjxj-5m7g-mg7q CVE-2023-33202 MODERATE Bouncy Castle Denial of Service (DoS)
GHSA-hr8g-6v94-x4m9 CVE-2023-33201 MODERATE Bouncy Castle For Java LDAP injection vulnerability
GHSA-8353-fgcr-xfhx CVE-2013-1624 MODERATE Improper Input Validation in Bouncy Castle
GHSA-wrwf-pmmj-w989 CVE-2017-13098 MODERATE Observable Discrepancy in BouncyCastle
GHSA-8477-3v39-ggpm CVE-2018-5382 MODERATE Improper Validation of Integrity Check Value in Bouncy Castle
GHSA-73xv-w5gp-frxh CVE-2020-28052 HIGH Logic error in Legion of the Bouncy Castle BC Java

CVE-2025-14813 at a Glance

CVE Identifier CVE-2025-14813
GHSA Identifier GHSA-574f-3g2m-x479
Severity CRITICAL
CVSS v3.1 Base Score 7.5
CWE Classification CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Affected Product Bouncy Castle
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-14813

To remediate this vulnerability, upgrade all affected Bouncy Castle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.bouncycastle:bcprov-jdk14 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk14</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-jdk15to18 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk15to18</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-jdk18on fixed: 1.80.2
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk18on</artifactId>
    <version>1.80.2</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk14 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk14</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk15to18 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk15to18</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk18on fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk18on</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-ext-jdk14 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-ext-jdk14</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-ext-jdk15to18 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-ext-jdk15to18</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-ext-jdk18on fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-ext-jdk18on</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-ext-debug-jdk14 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-ext-debug-jdk14</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-ext-debug-jdk15to18 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-ext-debug-jdk15to18</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-ext-debug-jdk18on fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-ext-debug-jdk18on</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-jdk14 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk14</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-jdk15to18 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk15to18</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-jdk18on fixed: 1.81.1
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk18on</artifactId>
    <version>1.81.1</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk14 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk14</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk15to18 fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk15to18</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk18on fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk18on</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-jdk14 fixed: 1.84
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk14</artifactId>
    <version>1.84</version>
</dependency>
org.bouncycastle:bcprov-jdk15to18 fixed: 1.84
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk15to18</artifactId>
    <version>1.84</version>
</dependency>
org.bouncycastle:bcprov-jdk18on fixed: 1.84
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk18on</artifactId>
    <version>1.84</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk14 fixed: 1.84
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk14</artifactId>
    <version>1.84</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk15to18 fixed: 1.84
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk15to18</artifactId>
    <version>1.84</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk18on fixed: 1.84
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk18on</artifactId>
    <version>1.84</version>
</dependency>
org.bouncycastle:bcprov-debug-jdk15on fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-debug-jdk15on</artifactId>
    <version>Latest secure release</version>
</dependency>
org.bouncycastle:bcprov-jdk15on fixed: Latest secure release
<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk15on</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.bouncycastle

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-14813, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.bouncycastle

Analyze the terminal output to locate any version of Bouncy Castle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.80.2), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.bouncycastle command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. In Bouncy Castle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The GOST 28147-2015 CTR mode implementation (`G3413CTRBlockCipher`) in the Legion of the Bouncy Castle BC-JAVA `bcprov` core module only increments the final byte of the counter, so the counter wraps after 255 blocks and the keystream is reused. Reusing CTR keystream allows an attacker who can observe two ciphertexts produced with the same key/IV to recover the XOR of the plaintexts, breaking confidentiality. Affects BC-JAVA from 1.59 before 1.84 (with backported fixes in 1.80.2 and 1.81.1).

CVE-2025-14813 Affected Bouncy Castle Versions

26 component(s)
Fixed Versions:
1.80.21.81.11.84
Product / Package Ecosystem Affected Versions Fixed Version
org.bouncycastle:bcprov-jdk14
Maven
≥ 1.59
≤ 1.80.1
org.bouncycastle:bcprov-jdk15to18
Maven
≥ 1.59
≤ 1.80.1
org.bouncycastle:bcprov-jdk18on
Maven
≥ 1.59
< 1.80.2
1.80.2
org.bouncycastle:bcprov-debug-jdk14
Maven
≥ 1.59
≤ 1.80.1
org.bouncycastle:bcprov-debug-jdk15to18
Maven
≥ 1.59
≤ 1.80.1
org.bouncycastle:bcprov-debug-jdk18on
Maven
≥ 1.59
≤ 1.80.1
org.bouncycastle:bcprov-ext-jdk14
Maven
≥ 1.59
≤ 1.78.1
org.bouncycastle:bcprov-ext-jdk15to18
Maven
≥ 1.59
≤ 1.78.1
org.bouncycastle:bcprov-ext-jdk18on
Maven
≥ 1.59
≤ 1.78.1
org.bouncycastle:bcprov-ext-debug-jdk14
Maven
≥ 1.59
≤ 1.74
org.bouncycastle:bcprov-ext-debug-jdk15to18
Maven
≥ 1.59
≤ 1.77
org.bouncycastle:bcprov-ext-debug-jdk18on
Maven
≥ 1.59
≤ 1.77
org.bouncycastle:bcprov-jdk14
Maven
1.81.0
All 1 versions
1.81.0
None specified
org.bouncycastle:bcprov-jdk15to18
Maven
1.81.0
All 1 versions
1.81.0
None specified
org.bouncycastle:bcprov-jdk18on
Maven
≥ 1.81.0
< 1.81.1
All 1 versions
1.81.0
1.81.1
org.bouncycastle:bcprov-debug-jdk14
Maven
1.81.0
All 1 versions
1.81.0
None specified
org.bouncycastle:bcprov-debug-jdk15to18
Maven
1.81.0
All 1 versions
1.81.0
None specified
org.bouncycastle:bcprov-debug-jdk18on
Maven
1.81.0
All 1 versions
1.81.0
None specified
org.bouncycastle:bcprov-jdk14
Maven
≥ 1.82
< 1.84
1.84
org.bouncycastle:bcprov-jdk15to18
Maven
≥ 1.82
< 1.84
1.84
org.bouncycastle:bcprov-jdk18on
Maven
≥ 1.82
< 1.84
1.84
org.bouncycastle:bcprov-debug-jdk14
Maven
≥ 1.82
< 1.84
1.84
org.bouncycastle:bcprov-debug-jdk15to18
Maven
≥ 1.82
< 1.84
1.84
org.bouncycastle:bcprov-debug-jdk18on
Maven
≥ 1.82
< 1.84
1.84
org.bouncycastle:bcprov-debug-jdk15on
Maven
≤ 1.7.0
org.bouncycastle:bcprov-jdk15on
Maven
≤ 1.7.0

References

NVD — CVE-2025-14813 NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-14813
Security Fix Commit FIX COMMIT
https://github.com/bcgit/bc-java/commit/b42574345414e4b7c8051b16fa1fafe01c29871f
Security Fix Commit FIX COMMIT
https://github.com/bcgit/bc-java/commit/701686cb0184cd9ae103c801b3581fdf95c6d4f3
access.redhat.com/errata/rhsa-2026:11... WEB
https://access.redhat.com/errata/RHSA-2026:11720
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60248
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60249
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60250
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60251
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60252
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60254
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60256
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60259
access.redhat.com/errata/rhsa-2026:66... WEB
https://access.redhat.com/errata/RHSA-2026:66488
Bouncy Castle Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2025-14813
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2458640
Bouncy Castle Source Repository REPOSITORY
https://github.com/bcgit/bc-java
GitHub Advisory / Wiki ADVISORY
https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%9014813
Bouncy Castle Security Information SECURITY
https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14813.json
access.redhat.com/errata/rhsa-2026:11... WEB
https://access.redhat.com/errata/RHSA-2026:11721
access.redhat.com/errata/rhsa-2026:13... WEB
https://access.redhat.com/errata/RHSA-2026:13631
access.redhat.com/errata/rhsa-2026:14... WEB
https://access.redhat.com/errata/RHSA-2026:14272
access.redhat.com/errata/rhsa-2026:14... WEB
https://access.redhat.com/errata/RHSA-2026:14276
access.redhat.com/errata/rhsa-2026:17... WEB
https://access.redhat.com/errata/RHSA-2026:17668
access.redhat.com/errata/rhsa-2026:18... WEB
https://access.redhat.com/errata/RHSA-2026:18054
access.redhat.com/errata/rhsa-2026:18... WEB
https://access.redhat.com/errata/RHSA-2026:18055
access.redhat.com/errata/rhsa-2026:18... WEB
https://access.redhat.com/errata/RHSA-2026:18059
access.redhat.com/errata/rhsa-2026:21... WEB
https://access.redhat.com/errata/RHSA-2026:21772
access.redhat.com/errata/rhsa-2026:24... WEB
https://access.redhat.com/errata/RHSA-2026:24977
access.redhat.com/errata/rhsa-2026:53... WEB
https://access.redhat.com/errata/RHSA-2026:53644
access.redhat.com/errata/rhsa-2026:53... WEB
https://access.redhat.com/errata/RHSA-2026:53645
access.redhat.com/errata/rhsa-2026:53... WEB
https://access.redhat.com/errata/RHSA-2026:53646
access.redhat.com/errata/rhsa-2026:53... WEB
https://access.redhat.com/errata/RHSA-2026:53806
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60239
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60246
access.redhat.com/errata/rhsa-2026:60... WEB
https://access.redhat.com/errata/RHSA-2026:60247

Frequently Asked Questions

What is CVE-2025-14813?
CVE-2025-14813 is a security vulnerability in Bouncy Castle involving Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks under CWE-327: Use of a Broken or Risky Cryptographic Algorithm.
Which Bouncy Castle versions are affected?
Affected versions include releases prior to 1.80.2, 1.81.1, 1.84 across affected packages: org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15to18, org.bouncycastle:bcprov-jdk18on, org.bouncycastle:bcprov-debug-jdk14, org.bouncycastle:bcprov-debug-jdk15to18, org.bouncycastle:bcprov-debug-jdk18on, org.bouncycastle:bcprov-ext-jdk14, org.bouncycastle:bcprov-ext-jdk15to18, org.bouncycastle:bcprov-ext-jdk18on, org.bouncycastle:bcprov-ext-debug-jdk14, org.bouncycastle:bcprov-ext-debug-jdk15to18, org.bouncycastle:bcprov-ext-debug-jdk18on, org.bouncycastle:bcprov-debug-jdk15on, org.bouncycastle:bcprov-jdk15on.
What version fixes CVE-2025-14813?
Upgrading to 1.80.2, 1.81.1, 1.84 (or the latest patched release for your respective branch) resolves the vulnerability.
Is bcprov-jdk14 affected?
Yes, org.bouncycastle:bcprov-jdk14 is affected in releases prior to Latest secure release, 1.84. Upgrade your dependency to Latest secure release, 1.84 or later.
Is bcprov-jdk15to18 affected?
Yes, org.bouncycastle:bcprov-jdk15to18 is affected in releases prior to Latest secure release, 1.84. Upgrade your dependency to Latest secure release, 1.84 or later.
What is the CVSS score of CVE-2025-14813?
CVE-2025-14813 has a CVSS v3.1 base score of 7.5 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-14813?
CVE-2025-14813 is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm (The product uses a broken or risky cryptographic algorithm or protocol.).
How can I check Maven dependencies for CVE-2025-14813?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.bouncycastle'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-574f-3g2m-x479",
  "modified" : "2026-09-24T15:18:43Z",
  "published" : "2026-04-17T18:31:50Z",
  "aliases" : [ "CVE-2025-14813" ],
  "summary" : "Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks",
  "details" : "The GOST 28147-2015 CTR mode implementation (`G3413CTRBlockCipher`) in the Legion of the Bouncy Castle BC-JAVA `bcprov` core module only increments the final byte of the counter, so the counter wraps after 255 blocks and the keystream is reused. Reusing CTR keystream allows an attacker who can observe two ciphertexts produced with the same key/IV to recover the XOR of the plaintexts, breaking confidentiality. Affects BC-JAVA from 1.59 before 1.84 (with backported fixes in 1.80.2 and 1.81.1).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk14"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.80.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk15to18"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.80.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk18on"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "fixed" : "1.80.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.80.1"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk14"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.80.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk15to18"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.80.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk18on"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.80.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-ext-jdk14"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.78.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-ext-jdk15to18"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.78.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-ext-jdk18on"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.78.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-ext-debug-jdk14"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.74"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-ext-debug-jdk15to18"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.77"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-ext-debug-jdk18on"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.59"
      }, {
        "last_affected" : "1.77"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk14"
    },
    "versions" : [ "1.81.0" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk15to18"
    },
    "versions" : [ "1.81.0" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk18on"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.81.0"
      }, {
        "fixed" : "1.81.1"
      } ]
    } ],
    "versions" : [ "1.81.0" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk14"
    },
    "versions" : [ "1.81.0" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk15to18"
    },
    "versions" : [ "1.81.0" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk18on"
    },
    "versions" : [ "1.81.0" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk14"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.82"
      }, {
        "fixed" : "1.84"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.83"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk15to18"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.82"
      }, {
        "fixed" : "1.84"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.83"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk18on"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.82"
      }, {
        "fixed" : "1.84"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.83"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk14"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.82"
      }, {
        "fixed" : "1.84"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.83"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk15to18"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.82"
      }, {
        "fixed" : "1.84"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.83"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk18on"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.82"
      }, {
        "fixed" : "1.84"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.83"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-debug-jdk15on"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.7.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bouncycastle:bcprov-jdk15on"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.7.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-14813"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bcgit/bc-java/commit/b42574345414e4b7c8051b16fa1fafe01c29871f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bcgit/bc-java/commit/701686cb0184cd9ae103c801b3581fdf95c6d4f3"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:11720"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60248"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60249"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60250"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60251"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60252"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60254"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60256"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60259"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:66488"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-14813"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2458640"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bcgit/bc-java"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%9014813"
  }, {
    "type" : "WEB",
    "url" : "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14813.json"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:11721"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:13631"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:14272"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:14276"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:17668"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:18054"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:18055"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:18059"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:21772"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:24977"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:53644"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:53645"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:53646"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:53806"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60239"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60246"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:60247"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-323", "CWE-327" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-30T19:45:20Z",
    "nvd_published_at" : "2026-04-15T10:16:38Z"
  }
}