What’s Vulnerable › Vulnerabilities
CVE-2026-13586: PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS)
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-03 · updated 2026-08-28
- Weakness: CWE-770
Description
In Bouncy Castle for Java before 1.85, PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS). This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).
Affected products
- Legion of the Bouncy Castle Inc. BC-JAVA: before 1.85 — fixed in 1.85
- Legion of the Bouncy Castle Inc. Bouncy Castle for Java LTS: through 2.73.11
- Bouncycastle Fips Java Api: from 1.0.0 before 1.0.2.7; from 2.0.0 before 2.0.2; from 2.1.0 before 2.1.3 — fixed in 1.0.2.7, 2.0.2, 2.1.3
How to fix
Upgrade to a fixed version: Legion of the Bouncy Castle Inc. BC-JAVA 1.85; Bouncycastle Fips Java Api 1.0.2.7, 2.0.2, 2.1.3. Check the vendor advisory for mitigations.
References
- https://github.com/bcgit/bc-java/commit/75d60dfb4ca72bea6da96234138bc9b1556ef5b0
- https://github.com/bcgit/bc-java/commit/fa59cc23502f73def89d94374540cc92af647b96
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9013586
Get alerted when CVE-2026-13586 or the next vulnerability affects your stack