Skip to main content
EPSS 0.3%top 76%

CVE-2025-14813: CWE-327: Use of a Broken or Risky Cryptographic Algorithm in Legion of the Bouncy Castle Inc. BC-JAVA

0
Critical
VulnerabilityCVE-2025-14813cvecve-2025-14813cwe-327
Published: 04/15/2026 (04/15/2026, 08:56:34 UTC)
Source: CVE Database V5
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: BC-JAVA

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.

CVSS v4.0

Score 9.3critical

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. 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/RE:M/U:Red

Affected software

Legion of the Bouncy Castle Inc.

BC-JAVA

Affected versions
>=1.59 <1.80.2>=1.81 <1.81.1>=1.82 <1.84
org.bouncycastle/bcprov-jdk15on
pkg:maven/org.bouncycastle/bcprov-jdk15on
Affected versions
=1.59<1.80.2>=1.81 <1.81.1>=1.82 <1.84=1.59=1.81=1.82
GitHub Actionsmore threats →cve
bcprov
pkg:github/bcprov
Affected versions
>=1.59 <1.80.2>=1.81 <1.81.1>=1.82 <1.84

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 12:59:19 UTC

Technical Analysis

The vulnerability CVE-2025-14813 in BC-JAVA's bcprov component affects the GOSTCTR implementation, specifically the G3413CTRBlockCipher. It fails to securely process more than 255 blocks of data due to keystream reuse, violating fundamental confidentiality guarantees. Exploitation requires capturing ciphertext encrypted with the same key and IV beyond the 255-block limit, enabling cryptanalysis to recover plaintext data. The primary impact is loss of confidentiality of data protected by this cipher. Red Hat has released a security update (JBoss Enterprise Application Platform 8.1.6) that includes a fix for this vulnerability. Mitigation includes limiting encrypted data size per key/IV or transitioning to a more secure authenticated encryption mode.

Potential Impact

The vulnerability compromises the confidentiality of data encrypted using the GOSTCTR implementation in BC-JAVA when more than 255 blocks are processed under the same key and IV, allowing attackers to recover plaintext from captured ciphertext. There is no reported impact on integrity or availability. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

A security update is available and should be applied to affected systems, such as Red Hat JBoss Enterprise Application Platform 8.1.6 for RHEL 8. Until the update is applied, users should strictly limit the amount of data encrypted under a single key and IV pair with the GOSTCTR implementation to a maximum of 255 blocks. Alternatively, migrating to a more secure, standardized, and authenticated encryption mode is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
bcorg
Date Reserved
2025-12-17T00:17:44.229Z
Cvss Version
4.0
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2025-14813","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:18054","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:18055","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:14276","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:14272","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13631","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:18059","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24977","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21772","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:11720","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:11721","vendor":"Red Hat"}]

Threat ID: 69df5b0f82d89c981fca1f43

Added to database: 04/15/2026, 09:31:59 UTC

Last enriched: 08/12/2026, 12:59:19 UTC

Last updated: 09/14/2026, 10:40:22 UTC

Views: 346

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses