CVE-2025-14813
Public on
Last Modified:
Description
A flaw was found in Legion of the Bouncy Castle Inc. BC-JAVA bcprov. The GOSTCTR implementation is unable to securely process more than 255 blocks of data due to keystream reuse. This issue allows an attacker to break the fundamental confidentiality of any data protected by the G3413CTRBlockCipher, potentially leading to the recovery and access of encrypted data.
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.
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.
Additional Information
- This content is not included.Bugzilla 2458640: bouncycastle: BC-JAVA: GOSTCTR implementation unable to process more than 255 blocks correctly
- Content from cwe.mitre.org is not included.CWE-327: Use of a Broken or Risky Cryptographic Algorithm
- FAQ: Frequently asked questions about CVE-2025-14813
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2025-14813
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2025-14813
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Cryostat 4 | bcprov-jdk18on | Not affected | |
| OpenShift Developer Tools and Services | jenkins | Affected | |
| OpenShift Developer Tools and Services | jenkins-2-plugins | Affected | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel8 | Affected | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel9 | Affected | |
| Red Hat AMQ Broker 7 | bcprov-jdk15on | Not affected | |
| Red Hat AMQ Broker 7.12.7 | bcprov-jdk18on | Fixed | RHSA-2026:14276 |
| Red Hat AMQ Broker 7.13.5 | bcprov-jdk18on | Fixed | RHSA-2026:14272 |
| Red Hat AMQ Clients | bcprov-jdk15on | Affected | |
| Red Hat AMQ Clients | bcprov-jdk18on | Affected | |
| Red Hat Build of Apache Camel 4.14 for Quarkus 3.27 | bcprov-jdk18on | Fixed | RHSA-2026:13631 |
| Red Hat Build of Keycloak | bcprov-jdk18on | Affected | |
| Red Hat Data Grid 8 | bcprov-jdk15 | Not affected | |
| Red Hat Data Grid 8 | bcprov-jdk15on | Not affected | |
| Red Hat Data Grid 8 | bcprov-jdk15to18 | Not affected | |
| Red Hat Data Grid 8 | bcprov-jdk18on | Not affected | |
| Red Hat Enterprise Linux 8 | pki-core:10.6/resteasy | Not affected | |
| Red Hat Enterprise Linux 8 | pki-deps:10.6/resteasy | Will not fix | |
| Red Hat Enterprise Linux 9 | jmc | Affected | |
| Red Hat Enterprise Linux 9 | resteasy | Not affected | |
| Red Hat Fuse 7 | bcprov-debug-jdk18on | Will not fix | |
| Red Hat Fuse 7 | bcprov-ext-jdk15on | Will not fix | |
| Red Hat Fuse 7 | bcprov-ext-jdk18on | Will not fix | |
| Red Hat Fuse 7 | bcprov-jdk15 | Will not fix | |
| Red Hat Fuse 7 | bcprov-jdk15on | Will not fix | |
| Red Hat Fuse 7 | bcprov-jdk15to18 | Will not fix | |
| Red Hat Fuse 7 | bcprov-jdk16 | Will not fix | |
| Red Hat Fuse 7 | bcprov-jdk18on | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 7 | bcprov-jdk12 | Affected | |
| Red Hat JBoss Enterprise Application Platform 7 | bcprov-jdk15 | Affected | |
| Red Hat JBoss Enterprise Application Platform 7 | bcprov-jdk15on | Affected | |
| Red Hat JBoss Enterprise Application Platform 7 | bcprov-jdk18on | Affected | |
| Red Hat JBoss Enterprise Application Platform 8.1 | bcprov-ext-jdk15on | Fixed | This content is not included.RHSA-2026:18059 |
| Red Hat JBoss Enterprise Application Platform 8.1 | bcprov-ext-jdk18on | Fixed | This content is not included.RHSA-2026:18059 |
| Red Hat JBoss Enterprise Application Platform 8.1 | bcprov-jdk12 | Fixed | This content is not included.RHSA-2026:18059 |
| Red Hat JBoss Enterprise Application Platform 8.1 | bcprov-jdk15 | Fixed | This content is not included.RHSA-2026:18059 |
| Red Hat JBoss Enterprise Application Platform 8.1 | bcprov-jdk15on | Fixed | This content is not included.RHSA-2026:18059 |
| Red Hat JBoss Enterprise Application Platform 8.1 | bcprov-jdk15to18 | Fixed | This content is not included.RHSA-2026:18059 |
| Red Hat JBoss Enterprise Application Platform 8.1 | bcprov-jdk18on | Fixed | This content is not included.RHSA-2026:18059 |
| Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8 | eap8-bouncycastle | Fixed | This content is not included.RHSA-2026:18054 |
| Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9 | eap8-bouncycastle | Fixed | This content is not included.RHSA-2026:18055 |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bcprov-ext-jdk15on | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bcprov-ext-jdk18on | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bcprov-jdk12 | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bcprov-jdk15 | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bcprov-jdk15on | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bcprov-jdk15to18 | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bcprov-jdk18on | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bcprov-jdk18on-1.83.0.redhat-00001.jar | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-modelmesh-rhel8 | Affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-modelmesh-rhel9 | Affected | |
| Red Hat OpenShift Dev Spaces | devspaces/openvsx-rhel9 | Affected | |
| Red Hat OpenShift Dev Spaces | devspaces/pluginregistry-rhel9 | Affected | |
| Red Hat Process Automation 7 | bcprov-jdk15on | Affected | |
| Red Hat Process Automation 7 | bcprov-jdk15to18 | Affected | |
| Red Hat Satellite 6 | candlepin | Not affected | |
| Red Hat Satellite 6 | satellite:el8/candlepin | Not affected | |
| Red Hat Single Sign-On 7 | bcprov-jdk15on | Will not fix | |
| Red Hat build of Apache Camel 4 for Quarkus 3 | bcprov-jdk18on | Affected | |
| Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | bcprov-debug-jdk15on | Fixed | RHSA-2026:17668 |
| Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | bcprov-jdk15on | Fixed | RHSA-2026:17668 |
| Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | bcprov-jdk18on | Fixed | RHSA-2026:17668 |
| Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | bcprov-lts8on | Fixed | RHSA-2026:17668 |
| Red Hat build of Apicurio Registry 3 | bcprov-jdk18on | Affected | |
| Red Hat build of Apicurio Registry 3 | bcprov-lts8on | Affected | |
| Red Hat build of Debezium 3 | bcprov-ext-jdk15on | Will not fix | |
| Red Hat build of Debezium 3 | bcprov-jdk18on | Will not fix | |
| Red Hat build of Debezium 3 | bcprov-lts8on | Will not fix | |
| Red Hat build of Quarkus 3.20.6.SP1 | bcprov-jdk18on | Fixed | RHSA-2026:11720 |
| Red Hat build of Quarkus 3.27.3.SP1 | bcprov-jdk18on | Fixed | RHSA-2026:11721 |
| streams for Apache Kafka 2 | bcprov-jdk15on | Affected | |
| streams for Apache Kafka 2 | bcprov-jdk18on | Affected | |
| streams for Apache Kafka 3 | bcprov-jdk15on | Affected | |
| streams for Apache Kafka 3 | bcprov-jdk18on | Not affected |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 7.5 | |
| Attack Vector | Network | |
| Attack Complexity | Low | |
| Privileges Required | None | |
| User Interaction | None | |
| Scope | Unchanged | |
| Confidentiality Impact | High | |
| Integrity Impact | None | |
| Availability Impact | None |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.