GOSTCTR implementation unable to process more than 255 blocks correctly

Summary

CVECVE-2025-14813
StatePUBLISHED
Assignerbcorg
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-15 10:16:38 UTC
Updated2026-06-30 03:16:44 UTC
Description: 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.

Risk And Classification

Primary CVSS: v4.0 9.3 CRITICAL from 91579145-5d7b-4cc5-b925-a0262ff19630

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:M/U:Red

EPSS: 0.003130000 probability, percentile 0.231190000 (date 2026-07-02)

Problem Types: CWE-327 | CWE-327 CWE-327: Use of a Broken or Risky Cryptographic Algorithm | CWE-327 Use of a Broken or Risky Cryptographic Algorithm


VersionSourceTypeScoreSeverityVector
4.091579145-5d7b-4cc5-b925-a0262ff19630Secondary9.3CRITICALCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/C...
4.0CNACVSS9.3CRITICALCVSS: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/...
3.1ADPCVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality
High
Integrity
High
Availability
None
Sub Conf.
High
Sub Integrity
High
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:M/U:Red

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Legion Of The Bouncy Castle Inc. BC-JAVA affected 1.59 1.80.2 maven all
CNA Legion Of The Bouncy Castle Inc. BC-JAVA affected 1.81 1.81.1 maven all
CNA Legion Of The Bouncy Castle Inc. BC-JAVA affected 1.82 1.84 maven all
ADP Red Hat Red Hat JBoss EAP 8.1 For RHEL 8 Not specified Not specified
ADP Red Hat Red Hat JBoss EAP 8.1 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat AMQ Broker 7.12.7 Not specified Not specified
ADP Red Hat Red Hat AMQ Broker 7.13.5 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4.14 For Quarkus 3.27 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8.1 Not specified Not specified
ADP Red Hat Red Hat OpenShift AI 2.25 Not specified Not specified
ADP Red Hat Red Hat OpenShift Dev Spaces 3.28 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4.18.1 For Spring Boot 3.5.14 Not specified Not specified
ADP Red Hat Red Hat Build Of Quarkus 3.20.6.SP1 Not specified Not specified
ADP Red Hat Red Hat Build Of Quarkus 3.27.3.SP1 Not specified Not specified
ADP Red Hat OpenShift Developer Tools And Services Not specified Not specified
ADP Red Hat Red Hat AMQ Clients Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4 For Quarkus 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Apicurio Registry 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Debezium 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Keycloak Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
ADP Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
ADP Red Hat Red Hat Process Automation 7 Not specified Not specified
ADP Red Hat Red Hat Single Sign-On 7 Not specified Not specified
ADP Red Hat Streams For Apache Kafka 2 Not specified Not specified
ADP Red Hat Cryostat 4 Not specified Not specified
ADP Red Hat Red Hat AMQ Broker 7 Not specified Not specified
ADP Red Hat Red Hat Data Grid 8 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat Satellite 6 Not specified Not specified
ADP Red Hat Streams For Apache Kafka 3 Not specified Not specified

References

ReferenceSourceLinkTags
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:11721 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:14276 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14813.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
github.com/bcgit/bc-java/commit/b42574345414e4b7c8051b16fa1fafe01c29871f 91579145-5d7b-4cc5-b925-a0262ff19630 github.com
access.redhat.com/errata/RHSA-2026:18054 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:17668 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24977 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:18059 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:13631 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/bcgit/bc-java/commit/701686cb0184cd9ae103c801b3581fdf95c6d4f3 91579145-5d7b-4cc5-b925-a0262ff19630 github.com
github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%9014813 91579145-5d7b-4cc5-b925-a0262ff19630 github.com
access.redhat.com/security/cve/CVE-2025-14813 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:21772 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:11720 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:14272 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:18055 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: XlabAI Team of Tencent Xuanwu Lab (en)

CNA: Atuin Automated Vulnerability Discovery Engine (en)

CNA: Lili Tang, Guannan Wang, and Guancheng Li (en)

Additional Advisory Data

SourceTimeEvent
ADP2026-04-15T10:01:27.769ZReported to Red Hat.
ADP2026-04-15T08:56:34.057ZMade public.

Solutions

ADP: RHSA-2026:18054: Red Hat JBoss EAP 8.1 for RHEL 8

ADP: RHSA-2026:18055: Red Hat JBoss EAP 8.1 for RHEL 9

ADP: RHSA-2026:14276: Red Hat AMQ Broker 7.12.7

ADP: RHSA-2026:14272: Red Hat AMQ Broker 7.13.5

ADP: RHSA-2026:13631: Red Hat Build of Apache Camel 4.14 for Quarkus 3.27

ADP: RHSA-2026:18059: Red Hat JBoss Enterprise Application Platform 8.1

ADP: RHSA-2026:24977: Red Hat OpenShift AI 2.25

ADP: RHSA-2026:21772: Red Hat OpenShift Dev Spaces 3.28

ADP: RHSA-2026:17668: Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14

ADP: RHSA-2026:11720: Red Hat build of Quarkus 3.20.6.SP1

ADP: RHSA-2026:11721: Red Hat build of Quarkus 3.27.3.SP1

Workarounds

ADP: 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report