Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bc-fips
  4. ›
  5. CVE-2025-9341

CVE-2025-9341: Bouncy Castle for Java has Uncontrolled Resource Consumption Vulnerability

August 22, 2025

Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS bc-fips on All (API modules) allows Excessive Allocation. This vulnerability is associated with program files org/bouncycastle/crypto/fips/AESNativeCBC.Java.

This issue affects Bouncy Castle for Java FIPS: from BC-FJA 2.1.0 through 2.1.0.

References

  • github.com/advisories/GHSA-jfcv-jv9g-2vx2
  • github.com/bcgit/bc-java
  • github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909341
  • nvd.nist.gov/vuln/detail/CVE-2025-9341

Code Behaviors & Features

Detect and mitigate CVE-2025-9341 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.1.0 before 2.1.1, version 2.1.0

Fixed versions

  • 2.1.1

Solution

Upgrade to version 2.1.1 or above.

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/org.bouncycastle/bc-fips/CVE-2025-9341.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 23 Aug 2025 00:18:28 +0000.