CVE-2025-14813GOSTCTR implementation unable to process more than 255 blocks correctly
: 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
Fixed builds are available from Maven: see the table below for the fixed version per release.
Maven, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | bouncycastle | Fix pending | UBUNTU-CVE-2025-14813 | |
| Ubuntu 26.04 | bouncycastle | Under investigation | UBUNTU-CVE-2025-14813 | |
| Ubuntu 25.10 | bouncycastle | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-14813 | |
| Ubuntu 24.04 | bouncycastle | Fix pending | UBUNTU-CVE-2025-14813 | |
| Ubuntu 22.04 | bouncycastle | Fix pending | UBUNTU-CVE-2025-14813 | |
| Ubuntu 20.04 | bouncycastle | Fix pending | UBUNTU-CVE-2025-14813 | |
| Ubuntu 18.04 | bouncycastle | Fix pending | UBUNTU-CVE-2025-14813 | |
| Ubuntu 16.04 | bouncycastle | Fix pending | UBUNTU-CVE-2025-14813 | |
| Red Hat Enterprise Linux 9 | jmc | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pki-resteasy-client | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-resteasy-core | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-resteasy-jackson2-provider | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-resteasy-servlet-initializer | Not affected | ||
| Red Hat Enterprise Linux 9 | resteasy | Not affected | ||
| Red Hat Enterprise Linux 8 | resteasy | Not affected | ||
| Red Hat Enterprise Linux 8 | resteasy-javadoc | Not affected | ||
| Maven library | org.bouncycastle:bcprov-debug-jdk14 | Fixed | 1.84 | GHSA-574f-3g2m-x479 |
| Maven library | org.bouncycastle:bcprov-debug-jdk15on | Fix pending | GHSA-574f-3g2m-x479 | |
| Maven library | org.bouncycastle:bcprov-debug-jdk15to18 | Fixed | 1.84 | GHSA-574f-3g2m-x479 |
| Maven library | org.bouncycastle:bcprov-debug-jdk18on | Fixed | 1.84 | GHSA-574f-3g2m-x479 |
| Maven library | org.bouncycastle:bcprov-ext-debug-jdk14 | Fix pending | GHSA-574f-3g2m-x479 | |
| Maven library | org.bouncycastle:bcprov-ext-debug-jdk15to18 | Fix pending | GHSA-574f-3g2m-x479 | |
| Maven library | org.bouncycastle:bcprov-ext-debug-jdk18on | Fix pending | GHSA-574f-3g2m-x479 | |
| Maven library | org.bouncycastle:bcprov-ext-jdk14 | Fix pending | GHSA-574f-3g2m-x479 | |
| Maven library | org.bouncycastle:bcprov-ext-jdk15to18 | Fix pending | GHSA-574f-3g2m-x479 | |
| Maven library | org.bouncycastle:bcprov-ext-jdk18on | Fix pending | GHSA-574f-3g2m-x479 | |
| Maven library | org.bouncycastle:bcprov-jdk14 | Fixed | 1.84 | GHSA-574f-3g2m-x479 |
| Maven library | org.bouncycastle:bcprov-jdk15on | Fix pending | GHSA-574f-3g2m-x479 | |
| Maven library | org.bouncycastle:bcprov-jdk15to18 | Fixed | 1.84 | GHSA-574f-3g2m-x479 |
| Maven library | org.bouncycastle:bcprov-jdk18on | Fixed | 1.84 | GHSA-574f-3g2m-x479 |
What the vendor says
As published in the CVE record by bcorg, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Legion of the Bouncy Castle Inc. BC-JAVA: affected: 1.59 to before 1.80.2, 1.81 to before 1.81.1, 1.82 to before 1.84; fixed in
1.80.2,1.81.1,1.84
Vendor advisories:
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%9014813 (vendor-advisory)
- https://github.com/bcgit/bc-java/commit/b42574345414e4b7c8051b16fa1fafe01c29871f (patch)
- https://github.com/bcgit/bc-java/commit/701686cb0184cd9ae103c801b3581fdf95c6d4f3 (patch)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.