Skip to main content
CVE-2025-9341VulnerabilityPublished Updated

CVE-2025-9341: Legion of the Bouncy Castle Bouncy Castle for Java FIPS · Uncontrolled Resource Consumption

Affects Legion of the Bouncy Castle Bouncy Castle for Java FIPSSource CVE Database V5

0

Not known to be exploited · CVSS 5.9 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:P/AU:N/R:U/V:C/RE:M/U:Amber

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPSAffected
  • =2.1.0
Fixed in–

AI-suggested

Organizations should monitor memory and resource usage of applications utilizing Bouncy Castle Java FIPS or LTS libraries, particularly those performing AES CBC operations. Implementing resource limits and quotas at the OS or container level can help contain potential exhaustion. It is critical to track vendor advisories for patches or updated library versions addressing CVE-2025-9341 and apply them promptly once released. In the interim, restrict local access to trusted users only and audit usage of cryptographic APIs to detect abnormal patterns. Employ application-level input validation to prevent malformed or unexpected inputs that could trigger excessive allocations. Consider isolating critical cryptographic services in hardened environments with strict resource controls. Additionally, review and update incident response plans to include scenarios involving resource exhaustion attacks targeting cryptographic components.

Description

Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS bc-fips on All (API modules), Legion of the Bouncy Castle Inc. Bouncy Castle for Java LTS bcprov-lts8on on All (API modules) allows Excessive Allocation. This vulnerability is associated with program files org/bouncycastle/crypto/fips/AESNativeCBC.Java, org/bouncycastle/crypto/engines/AESNativeCBC.Java. This issue affects Bouncy Castle for Java FIPS: 2.1.0; Bouncy Castle for Java LTS: from 2.73.0 through 2.73.7.

References

Community reviews

Loading reviews…