Skip to content

CVE-2025-9340 native encrypt/decrypt operations in JCE may corrupt data if same byte array used for input and output.

NoneCVSS 0.0 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known

Description

Out-of-bounds Write vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java bc-fips on All (API modules). This vulnerability is associated with program files org/bouncycastle/jcajce/provider/BaseCipher.

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

Affected products

ProductAffected versionsFixed in
org.bouncycastle/bc-fips(Maven) >= 2.1.0, < 2.1.1 2.1.1
org.bouncycastle/bc-fips(Maven) = 2.1.0 No fix listed
maven bc-fips(Maven) >= BC-FJA 2.1.0, <= 2.1.0 No fix listed

References