Allocation of Resources Without Limits or Throttling Affecting org.bouncycastle:bcprov-jdk15to18 package, versions [,1.86)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGBOUNCYCASTLE-20536968
  • published6 Oct 2026
  • disclosed3 Oct 2026
  • creditArpan Sharma

Introduced: 3 Oct 2026

NewCVE-2026-97873  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade org.bouncycastle:bcprov-jdk15to18 to version 1.86 or higher.

Overview

org.bouncycastle:bcprov-jdk15to18 is a Java implementation of cryptographic algorithms.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the PBEPBKDF2 implementation in prov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/PBEPBKDF2.java. An attacker can force excessive CPU work by supplying a PBES2/PBKDF2 structure or PBEKeySpec with a very large iteration count, causing engineInit or engineGenerateSecret to derive with whatever count it receives. The affected code accepts untrusted counts from encoded parameters and uses them directly for password-based key derivation, so decrypting or generating PBKDF2-protected keys can stall the application before the result is verified.

CVSS Base Scores

version 4.0
version 3.1