Medium · published August 3, 2026
In Bouncy Castle for Java before 1.85, OpenPGP Argon2 S2K honours attacker-chosen memory and passes. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).
| Product | Versions | Fixed in |
|---|---|---|
| bouncycastle/bc-java | < 1.85 | 1.85 |
| bouncycastle/bcpg-fips | ≥ 1.0.6, < 1.0.13 | 1.0.13 |
| bouncycastle/bcpg-fips | ≥ 2.0.8, < 2.0.13 | 2.0.13 |
| bouncycastle/bcpg-fips | ≥ 2.1.10, < 2.1.13 | 2.1.13 |
| bouncycastle/bouncy_castle_for_java_lts | ≤ 2.73.11 | — |