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

CVE-2025-9341 · Severity: medium · CVSS 4 · Published 2025-08-22

Bouncy Castle for Java has Uncontrolled Resource Consumption Vulnerability

Technologies: org.bouncycastle:bc-fips (Maven), org.bouncycastle:bctls-fips (Maven). Vendors: Maven.

Quick answers

Is CVE-2025-9341 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-9341 being exploited in the wild.
How severe is CVE-2025-9341?
Medium severity, with a CVSS score of 4, published 22 August 2025.
Which products and versions are affected?
org.bouncycastle:bc-fips (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.1.1; org.bouncycastle:bctls-fips (Maven) ECOSYSTEM:introduced=2.73.7,fixed=2.73.8.
Is there a fix for CVE-2025-9341?
Yes. org.bouncycastle:bc-fips (Maven): upgrade to 2.1.1 or later; org.bouncycastle:bctls-fips (Maven): upgrade to 2.73.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-9341?
Check whether you run org.bouncycastle:bc-fips (Maven) or org.bouncycastle:bctls-fips (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.bouncycastle:bc-fips (Maven): upgrade to 2.1.1 or later
    # set org.bouncycastle:bc-fips to 2.1.1 in your pom.xml or build.gradle
  • org.bouncycastle:bctls-fips (Maven): upgrade to 2.73.8 or later
    # set org.bouncycastle:bctls-fips to 2.73.8 in your pom.xml or build.gradle

Affected products

  • org.bouncycastle:bc-fips (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.1.1
  • org.bouncycastle:bctls-fips (Maven) ECOSYSTEM:introduced=2.73.7,fixed=2.73.8

Identifiers

  • CVE-2025-9341
  • GHSA-jfcv-jv9g-2vx2

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.