9.3critical
GOSTCTR implementation unable to process more than 255 blocks correctly
- Severity
- 9.3critical CVSS:4.0 by bcorg
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- bcorg
- Also known as
- GHSA-574f-3g2m-x479
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
| Product or package | Versions | Reported by |
|---|---|---|
| bcprov | from 1.59 before 1.80.2, from 1.81 before 1.81.1, from 1.82 before 1.84 Not affected: from debug-jdk15on before * | CVE List |
| bcprov-jdk18on | Not specified | CVE List |
| bcprov-jdk15on | Not specified | CVE List |
| bcprov-lts8on | Not specified | CVE List |
| eap7-activemq-artemis | Not specified Not affected: from 0:2.16.0-22.redhat_00057.1.el7eap before *, from 0:2.16.0-22.redhat_00057.1.el8eap before *, from 0:2.16.0-22.redhat_00057.1.el9eap before * | CVE List |
| eap7-glassfish-jsf | Not specified Not affected: from 0:2.3.14-11.SP11_redhat_00001.1.el7eap before *, from 0:2.3.14-11.SP11_redhat_00001.1.el8eap before *, from 0:2.3.14-11.SP11_redhat_00001.1.el9eap before * | CVE List |
| eap7-ironjacamar | Not specified Not affected: from 0:1.5.26-2.Final_redhat_00001.1.el7eap before *, from 0:1.5.26-2.Final_redhat_00001.1.el8eap before *, from 0:1.5.26-2.Final_redhat_00001.1.el9eap before * | CVE List |
| eap7-jackson-annotations | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-core | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-databind | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-jaxrs-providers | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-modules-base | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-modules-java8 | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jboss-remoting | Not specified Not affected: from 0:5.0.31-3.SP2_redhat_00001.1.el7eap before *, from 0:5.0.31-3.SP2_redhat_00001.1.el8eap before *, from 0:5.0.31-3.SP2_redhat_00001.1.el9eap before * | CVE List |
| eap7-jboss-server-migration | Not specified Not affected: from 0:1.10.0-46.Final_redhat_00044.1.el7eap before *, from 0:1.10.0-46.Final_redhat_00044.1.el8eap before *, from 0:1.10.0-46.Final_redhat_00044.1.el9eap before * | CVE List |
| eap7-netty | Not specified Not affected: from 0:4.1.135-1.Final_redhat_00001.1.el7eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el8eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el9eap before * | CVE List |
| eap7-netty-transport-native-epoll | Not specified Not affected: from 0:4.1.135-1.Final_redhat_00001.1.el7eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el8eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el9eap before * | CVE List |
| eap7-picketlink-bindings | Not specified Not affected: from 0:2.5.5-30.SP12_redhat_00020.1.el7eap before *, from 0:2.5.5-30.SP12_redhat_00020.1.el8eap before *, from 0:2.5.5-30.SP12_redhat_00020.1.el9eap before * | CVE List |
| eap7-picketlink-federation | Not specified Not affected: from 0:2.5.5-24.SP12_redhat_00016.1.el7eap before *, from 0:2.5.5-24.SP12_redhat_00016.1.el8eap before *, from 0:2.5.5-24.SP12_redhat_00016.1.el9eap before * | CVE List |
| eap7-undertow | Not specified Not affected: from 0:2.2.40-2.SP3_redhat_00001.1.el7eap before *, from 0:2.2.40-1.SP3_redhat_00001.1.el8eap before *, from 0:2.2.40-1.SP3_redhat_00001.1.el9eap before * | CVE List |
| eap7-wildfly | Not specified Not affected: from 0:7.4.25-2.GA_redhat_00001.1.el7eap before *, from 0:7.4.25-2.GA_redhat_00001.1.el8eap before *, from 0:7.4.25-2.GA_redhat_00001.1.el9eap before * | CVE List |
| org.bouncycastle/bcprov-jdk18on | Not specified Not affected: from 1.84.0.redhat-00001 before * | CVE List |
| eap8-bouncycastle | Not specified Not affected: from 0:1.84.0-1.redhat_00001.1.el8eap before *, from 0:1.84.0-1.redhat_00001.1.el9eap before * | CVE List |
| ocp-tools-4/jenkins-rhel8 | Not specified Not affected: from 1786628667 before *, from 1786628681 before *, from 1786533561 before *, from 1786533565 before * | CVE List |
| ocp-tools-4/jenkins-rhel9 | Not specified Not affected: from 1787125166 before *, from 1787124635 before *, from 1787125069 before *, from 1787124632 before *, from 1787124925 before *, from 1787125311 before * | CVE List |
| rhoai/odh-modelmesh-rhel9 | Not specified Not affected: from 1780069506 before * | CVE List |
| devspaces/openvsx-rhel9 | Not specified Not affected: from 1779528224 before * | CVE List |
| devspaces/pluginregistry-rhel9 | Not specified Not affected: from 1779359423 before * | CVE List |
| jenkins | Not specified | CVE List |
| jenkins-2-plugins | Not specified | CVE List |
| bcprov-ext-jdk15on | Not specified | CVE List |
| bcprov-jdk15 | Not specified | CVE List |
| bcprov-jdk15to18 | Not specified | CVE List |
| pki-core:10.6/resteasy | Not specified | CVE List |
| pki-deps:10.6/resteasy | Not specified | CVE List |
| jmc | Not specified | CVE List |
| resteasy | Not specified | CVE List |
| bcprov-debug-jdk18on | Not specified | CVE List |
| bcprov-ext-jdk18on | Not specified | CVE List |
| bcprov-jdk16 | Not specified | CVE List |
| bcprov-jdk12 | Not specified | CVE List |
| bcprov-jdk18on-1.83.0.redhat-00001.jar | Not specified | CVE List |
| rhoai/odh-modelmesh-rhel8 | Not specified | CVE List |
| candlepin | Not specified | CVE List |
| satellite:el8/candlepin | Not specified | CVE List |
| org.bouncycastle:bcprov-jdk14 (Maven) | from 1.59 up to 1.80.1, 1.81.0, from 1.82 before 1.84 | GitHub Advisory Database |
| org.bouncycastle:bcprov-jdk15to18 (Maven) | from 1.59 up to 1.80.1, 1.81.0, from 1.82 before 1.84 | GitHub Advisory Database |
| org.bouncycastle:bcprov-jdk18on (Maven) | from 1.59 before 1.80.2, from 1.81.0 before 1.81.1, from 1.82 before 1.84 | GitHub Advisory Database |
| org.bouncycastle:bcprov-debug-jdk14 (Maven) | from 1.59 up to 1.80.1, 1.81.0, from 1.82 before 1.84 | GitHub Advisory Database |
| org.bouncycastle:bcprov-debug-jdk15to18 (Maven) | from 1.59 up to 1.80.1, 1.81.0, from 1.82 before 1.84 | GitHub Advisory Database |
| org.bouncycastle:bcprov-debug-jdk18on (Maven) | from 1.59 up to 1.80.1, 1.81.0, from 1.82 before 1.84 | GitHub Advisory Database |
| org.bouncycastle:bcprov-ext-jdk14 (Maven) | from 1.59 up to 1.78.1 | GitHub Advisory Database |
| org.bouncycastle:bcprov-ext-jdk15to18 (Maven) | from 1.59 up to 1.78.1 | GitHub Advisory Database |
| org.bouncycastle:bcprov-ext-jdk18on (Maven) | from 1.59 up to 1.78.1 | GitHub Advisory Database |
| org.bouncycastle:bcprov-ext-debug-jdk14 (Maven) | from 1.59 up to 1.74 | GitHub Advisory Database |
| org.bouncycastle:bcprov-ext-debug-jdk15to18 (Maven) | from 1.59 up to 1.77 | GitHub Advisory Database |
| org.bouncycastle:bcprov-ext-debug-jdk18on (Maven) | from 1.59 up to 1.77 | GitHub Advisory Database |
| org.bouncycastle:bcprov-debug-jdk15on (Maven) | up to 1.7.0 | GitHub Advisory Database |
| org.bouncycastle:bcprov-jdk15on (Maven) | up to 1.7.0 | GitHub Advisory Database |
All scores
| bcorg | 9.3critical CVSS:4.0 | 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 | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | critical CVSS:4.0 | 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 |
Classification
What each source says
CVE List
: 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.
GitHub Advisory Database
The GOST 28147-2015 CTR mode implementation (G3413CTRBlockCipher) in the Legion of the Bouncy Castle BC-JAVA bcprov core module only increments the final byte of the counter, so the counter wraps after 255 blocks and the keystream is reused. Reusing CTR keystream allows an attacker who can observe two ciphertexts produced with the same key/IV to recover the XOR of the plaintexts, breaking confidentiality. Affects BC-JAVA from 1.59 before 1.84 (with backported fixes in 1.80.2 and 1.81.1).
NVD (es)
Vulnerabilidad de uso de un algoritmo criptográfico roto o arriesgado en Legion of the Bouncy Castle Inc. BC-JAVA bcprov en todos (módulos centrales). Esta vulnerabilidad está asociada con los archivos de programa G3413CTRBlockCipher. La implementación de GOSTCTR es incapaz de procesar más de 255 bloques correctamente. Este problema afecta a BC-JAVA: desde 1.59 antes de 1.84.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-14813 changed 2026-09-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-574f-3g2m-x479 changed 2026-09-24 | CC-BY-4.0 |
| NVD | CVE-2025-14813 changed 2026-10-07 | Public domain |