CVE-2025-14813
Fix: bcgit/bc-java@701686cCVE-2025-14813 is a Broken Cryptographic Algorithm vulnerability in org.bouncycastle:bcprov-jdk14. O3 Security confirms whether CVE-2025-14813 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.
GOSTCTR implementation unable to process more than 255 blocks correctly
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-14813.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Real-World Exposure
org.bouncycastle:bcprov-jdk14☕org.bouncycastle:bcprov-jdk15to18☕org.bouncycastle:bcprov-jdk18on☕org.bouncycastle:bcprov-debug-jdk14☕org.bouncycastle:bcprov-debug-jdk15to18☕org.bouncycastle:bcprov-debug-jdk18on☕org.bouncycastle:bcprov-ext-jdk14☕org.bouncycastle:bcprov-ext-jdk15to18+16 moreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.bouncycastle:bcprov-jdk14 | ≥ 1.59 | No fix |
| ☕Maven | org.bouncycastle:bcprov-jdk15to18 | ≥ 1.59 | No fix |
| ☕Maven | org.bouncycastle:bcprov-jdk18on | ≥ 1.59&&< 1.80.2 | 1.80.2 |
| ☕Maven | org.bouncycastle:bcprov-debug-jdk14 | ≥ 1.59 | No fix |
| ☕Maven | org.bouncycastle:bcprov-debug-jdk15to18 | ≥ 1.59 | No fix |
| ☕Maven | org.bouncycastle:bcprov-debug-jdk18on | ≥ 1.59 | No fix |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.bouncycastle:bcprov-jdk14. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
No patched version of org.bouncycastle:bcprov-jdk14 has shipped for CVE-2025-14813 yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether CVE-2025-14813 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to CVE-2025-14813. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
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…
Frequently Asked Questions
Is CVE-2025-14813 in your dependencies?
O3 detects CVE-2025-14813 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.