---
title: "CVE-2025-14813: Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks"
url: https://erroneo.us/security/cve/CVE-2025-14813/
description: "CVE-2025-14813 (org.bouncycastle:bcprov-jdk14 (Maven)): : Use of a Broken or Risky Cryptographic Algorithm vulnerability in Legion of the Bouncy Castle Inc.…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-04-15
date_modified: 2026-09-24
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-14813"
kev: false
cvss: 9.3
epss: 0.0032
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-14813: Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.3% , percentile 24: FIRST’s model estimates a 0.3% chance of exploitation activity in the next 30 days, higher than 24% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs local access needed. Lower urgency for most teams unless an attacker could already run code on the machine.
- Only applies if your dependency tree includes org.bouncycastle:bcprov-jdk14 (Maven) >= 1.59, <= 1.80.1, no fixed version listed ; org.bouncycastle:bcprov-jdk15to18 (Maven) >= 1.59, <= 1.80.1, no fixed version listed ; org.bouncycastle:bcprov-jdk18on (Maven) >= 1.59, <= 1.80.1, fixed in 1.80.2 ; org.bouncycastle:bcprov-debug-jdk14 (Maven) >= 1.59, <= 1.80.1, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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

## Affected packages

- Maven `org.bouncycastle:bcprov-jdk14` >= 1.59, <= 1.80.1 → fixed: none listed
- Maven `org.bouncycastle:bcprov-jdk15to18` >= 1.59, <= 1.80.1 → fixed: none listed
- Maven `org.bouncycastle:bcprov-jdk18on` >= 1.59, <= 1.80.1 → fixed: 1.80.2
- Maven `org.bouncycastle:bcprov-debug-jdk14` >= 1.59, <= 1.80.1 → fixed: none listed
- Maven `org.bouncycastle:bcprov-debug-jdk15to18` >= 1.59, <= 1.80.1 → fixed: none listed
- Maven `org.bouncycastle:bcprov-debug-jdk18on` >= 1.59, <= 1.80.1 → fixed: none listed
- Maven `org.bouncycastle:bcprov-ext-jdk14` >= 1.59, <= 1.78.1 → fixed: none listed
- Maven `org.bouncycastle:bcprov-ext-jdk15to18` >= 1.59, <= 1.78.1 → fixed: none listed
- Maven `org.bouncycastle:bcprov-ext-jdk18on` >= 1.59, <= 1.78.1 → fixed: none listed
- Maven `org.bouncycastle:bcprov-ext-debug-jdk14` >= 1.59, <= 1.74 → fixed: none listed
- Maven `org.bouncycastle:bcprov-ext-debug-jdk15to18` >= 1.59, <= 1.77 → fixed: none listed
- Maven `org.bouncycastle:bcprov-ext-debug-jdk18on` >= 1.59, <= 1.77 → fixed: none listed
- Maven `org.bouncycastle:bcprov-jdk14` = 1.81.0 → fixed: none listed
- Maven `org.bouncycastle:bcprov-jdk15to18` = 1.81.0 → fixed: none listed
- Maven `org.bouncycastle:bcprov-jdk18on` = 1.81.0 → fixed: 1.81.1
- Maven `org.bouncycastle:bcprov-debug-jdk14` = 1.81.0 → fixed: none listed
- Maven `org.bouncycastle:bcprov-debug-jdk15to18` = 1.81.0 → fixed: none listed
- Maven `org.bouncycastle:bcprov-debug-jdk18on` = 1.81.0 → fixed: none listed
- Maven `org.bouncycastle:bcprov-jdk14` >= 1.82, <= 1.83 → fixed: 1.84
- Maven `org.bouncycastle:bcprov-jdk15to18` >= 1.82, <= 1.83 → fixed: 1.84
- Maven `org.bouncycastle:bcprov-jdk18on` >= 1.82, <= 1.83 → fixed: 1.84
- Maven `org.bouncycastle:bcprov-debug-jdk14` >= 1.82, <= 1.83 → fixed: 1.84
- Maven `org.bouncycastle:bcprov-debug-jdk15to18` >= 1.82, <= 1.83 → fixed: 1.84
- Maven `org.bouncycastle:bcprov-debug-jdk18on` >= 1.82, <= 1.83 → fixed: 1.84
- Maven `org.bouncycastle:bcprov-debug-jdk15on` <= 1.7.0 → fixed: none listed
- Maven `org.bouncycastle:bcprov-jdk15on` <= 1.7.0 → fixed: none listed

## Affected products (CVE record)

- Legion of the Bouncy Castle Inc. BC-JAVA: 1.59 < 1.80.2, 1.81 < 1.81.1, 1.82 < 1.84

## Severity

- bcorg CVSS 4.0: 9.3 `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`
- redhat-SADP CVSS 3.1: 7.5 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub CVSS 4.0: 9.3 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.32% probability of exploitation activity in the next 30 days; percentile 24.

## Sources

- [github.com](https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%9014813)
- [github.com](https://github.com/bcgit/bc-java/commit/b42574345414e4b7c8051b16fa1fafe01c29871f)
- [github.com](https://github.com/bcgit/bc-java/commit/701686cb0184cd9ae103c801b3581fdf95c6d4f3)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:53644)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:53645)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:18054)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:53646)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:18055)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60247)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60249)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60248)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60239)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60251)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60246)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60250)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60252)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60259)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60254)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:60256)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:14276)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:14272)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:66488)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:13631)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:18059)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:24977)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:21772)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:17668)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:11720)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:11721)
- [GitHub Advisory GHSA-574f-3g2m-x479](https://github.com/advisories/GHSA-574f-3g2m-x479)
- [CVE.org record CVE-2025-14813](https://www.cve.org/CVERecord?id=CVE-2025-14813)
- [NVD entry CVE-2025-14813](https://nvd.nist.gov/vuln/detail/CVE-2025-14813)
- [access.redhat.com](https://access.redhat.com/security/cve/CVE-2025-14813)
- [RHBZ#2458640](https://bugzilla.redhat.com/show_bug.cgi?id=2458640)
- [security.access.redhat.com](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14813.json)
- [access.redhat.com](https://access.redhat.com/errata/RHSA-2026:53806)

---
Source page: https://erroneo.us/security/cve/CVE-2025-14813/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
