Allocation of Resources Without Limits or Throttling Affecting org.bouncycastle:bc-fips package, versions [2.1.0,2.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-12150358
  • published22 Aug 2025
  • disclosed22 Aug 2025
  • creditUnknown

Introduced: 22 Aug 2025

NewCVE-2025-9341  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade org.bouncycastle:bc-fips to version 2.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the AESNativeCBC class due to the use of a private instance class, rather than a private static class. An attacker can cause heap exhaustion by triggering excessive memory allocation through repeated or crafted operations that delay garbage collection.

References

CVSS Base Scores

version 4.0
version 3.1