Loading advisory.
Loading advisory.
Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks
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.
Published 2026-04-15 08:56 UTC · Modified 2026-09-24 15:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.bouncycastle:bcprov-jdk14 | Maven | >= 1.59, <= 1.80.1 >= 1.82, < 1.84 versions 1.59, 1.60, 1.61, 1.62, 1.63, 1.64, 1.65, 1.67, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77, 1.78, 1.78.1 and 5 more | 1.84 | No single command for Maven. Update to 1.84 in your build file. |
| org.bouncycastle:bcprov-jdk15to18 | Maven | >= 1.59, <= 1.80.1 >= 1.82, < 1.84 versions 1.63, 1.64, 1.65, 1.66, 1.67, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77, 1.78, 1.78.1, 1.79, 1.80, 1.81.0 and 2 more | 1.84 | No single command for Maven. Update to 1.84 in your build file. |
| org.bouncycastle:bcprov-jdk18on | Maven | >= 1.59, < 1.80.2 >= 1.81.0, < 1.81.1 >= 1.82, < 1.84 versions 1.71, 1.71.1, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77, 1.78, 1.78.1, 1.79, 1.80, 1.81, 1.81.0, 1.82, 1.83 | 1.80.2, 1.81.1, 1.84 | No single command for Maven. Update to 1.80.2, 1.81.1, 1.84 in your build file. |
| org.bouncycastle:bcprov-debug-jdk14 | Maven | >= 1.59, <= 1.80.1 >= 1.82, < 1.84 versions 1.59, 1.60, 1.64, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73, 1.74, 1.78, 1.79, 1.80, 1.81.0, 1.82, 1.83 | 1.84 | No single command for Maven. Update to 1.84 in your build file. |
| org.bouncycastle:bcprov-debug-jdk15to18 | Maven | >= 1.59, <= 1.80.1 >= 1.82, < 1.84 versions 1.64, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77, 1.78, 1.78.1, 1.79, 1.81.0, 1.82, 1.83 | 1.84 | No single command for Maven. Update to 1.84 in your build file. |
| org.bouncycastle:bcprov-debug-jdk18on | Maven | >= 1.59, <= 1.80.1 >= 1.82, < 1.84 versions 1.71, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77, 1.78, 1.78.1, 1.79, 1.81.0, 1.82, 1.83 | 1.84 | No single command for Maven. Update to 1.84 in your build file. |
| org.bouncycastle:bcprov-ext-jdk14 | Maven | >= 1.59, <= 1.78.1 versions 1.60, 1.64, 1.65, 1.67, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73, 1.75, 1.76, 1.78, 1.78.1 | No patch yet | No command until a fix exists. |
| org.bouncycastle:bcprov-ext-jdk15to18 | Maven | >= 1.59, <= 1.78.1 versions 1.64, 1.67, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77, 1.78, 1.78.1 | No patch yet | No command until a fix exists. |
| org.bouncycastle:bcprov-ext-jdk18on | Maven | >= 1.59, <= 1.78.1 versions 1.71, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77, 1.78, 1.78.1 | No patch yet | No command until a fix exists. |
| org.bouncycastle:bcprov-ext-debug-jdk14 | Maven | >= 1.59, <= 1.74 versions 1.60, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73, 1.74 | No patch yet | No command until a fix exists. |
| org.bouncycastle:bcprov-ext-debug-jdk15to18 | Maven | >= 1.59, <= 1.77 versions 1.68, 1.69, 1.70, 1.71, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77 | No patch yet | No command until a fix exists. |
| org.bouncycastle:bcprov-ext-debug-jdk18on | Maven | >= 1.59, <= 1.77 versions 1.71, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77 | No patch yet | No command until a fix exists. |
| org.bouncycastle:bcprov-debug-jdk15on | Maven | <= 1.7.0 | No patch yet | No command until a fix exists. |
| org.bouncycastle:bcprov-jdk15on | Maven | <= 1.7.0 | No patch yet | No command until a fix exists. |
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).
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.003 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.003 | 0.003 | v2026.06.15 |