Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-17508
Published:October 02, 2026
Updated:October 13, 2026
In Bouncy Castle for Java before 1.86, several password-based key derivation entry points ran the KDF with cost parameters taken from the untrusted input being processed, without bounding them, so a small input could dictate an arbitrary amount of work before any password or integrity check could reject it. The affected paths are the RFC 9579 PBMAC1 MAC calculator builders, which took the PBKDF2 iteration count and derived-key length straight out of PBMAC1Params (JcePBMac1CalculatorBuilder, and PKCS12PBEUtils.createPBMac1Calculator reached from PKCS12PfxPdu.isMacValid); the scrypt parallelization parameter p in the PKCS#8 and PKCS#12 cost guards, which bounded only the cost parameter N and the block size r even though the scratch buffer scales with r times p, so the configured memory ceiling could be evaded entirely; the raw JCA PBKDF2 provider (org.bouncycastle.jcajce.provider.symmetric.PBEPBKDF2); and the bcrypt round count read from an encrypted OpenSSH v1 private key's own kdfoptions. Each now bounds the parameter before deriving, in line with the caps already applied elsewhere in the tree, with the OpenSSH round count configurable through the new org.bouncycastle.openssh.max_rounds property. This completes the bounding begun in 1.85 for the PKCS#8 / PBES2 decryptors (CVE-2026-15055). This issue also affects Bouncy Castle for Java LTS before 2.73.13, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).
Affected Packages
https://github.com/bcgit/bc-java.git (GITHUB):
Affected version(s) >=r1rv49 <r1rv86
Fix Suggestion:
Update to version r1rv86
https://github.com/bcgit/bc-lts-java.git (GITHUB):
Affected version(s) >=r2rv73dot0 <r2rv73dot13
Fix Suggestion:
Update to version r2rv73dot13
org.bouncycastle:bcpkix-lts8on (JAVA):
Affected version(s) >=2.73.0 <2.73.13
Fix Suggestion:
Update to version 2.73.13
org.bouncycastle:bcpkix-jdk15to18 (JAVA):
Affected version(s) >=1.71 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcprov-debug-jdk18on (JAVA):
Affected version(s) >=1.71 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcpkix-jdk18on (JAVA):
Affected version(s) >=1.71 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcprov-debug-lts8on (JAVA):
Affected version(s) >=2.73.9 <2.73.13
Fix Suggestion:
Update to version 2.73.13
org.bouncycastle:bcpkix-debug-jdk15to18 (JAVA):
Affected version(s) >=1.73 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcprov-jdk15to18 (JAVA):
Affected version(s) >=1.63 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcprov-lts8on (JAVA):
Affected version(s) >=2.73.0 <2.73.13
Fix Suggestion:
Update to version 2.73.13
org.bouncycastle:bcpkix-fips (JAVA):
Affected version(s) >=2.1.8 <2.1.13
Fix Suggestion:
Update to version 2.1.13
org.bouncycastle:bcpkix-fips (JAVA):
Affected version(s) >=2.0.7 <2.0.13
Fix Suggestion:
Update to version 2.0.13
org.bouncycastle:bcprov-debug-jdk14 (JAVA):
Affected version(s) >=1.55 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcprov-debug-jdk15to18 (JAVA):
Affected version(s) >=1.64 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcprov-jdk18on (JAVA):
Affected version(s) >=1.71 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcprov-jdk14 (JAVA):
Affected version(s) >=1.49 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcpkix-jdk14 (JAVA):
Affected version(s) >=1.71 <1.86
Fix Suggestion:
Update to version 1.86
org.bouncycastle:bcpkix-debug-jdk18on (JAVA):
Affected version(s) >=1.73 <1.86
Fix Suggestion:
Update to version 1.86
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling
EPSS
Base Score:
0.44