Resource exhaustion in Bouncy Castle for Java FIPS and Bouncy Castle for Java LTS - CVE-2025-9341
Published: May 25, 2026
Vulnerability identifier: #VU132270
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-9341
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Legion of the Bouncy Castle Inc.
Affected software:
Bouncy Castle for Java FIPS
Bouncy Castle for Java LTS
Bouncy Castle for Java FIPS
Bouncy Castle for Java LTS
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled resource consumption in org/bouncycastle/crypto/fips/AESNativeCBC.Java when processing input. A remote attacker can trigger excessive allocation to cause a denial of service.
How to mitigate CVE-2025-9341
Install security update from vendor's website.