CVE-2025-9340
native encrypt/decrypt operations in JCE may corrupt data if same byte array used for input and output.
- State
- Published
- Severity
- 0.0 None
- Published
- Aug 22, 2025
- Updated
- Aug 22, 2025
- Reserved
- Aug 22, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 0.0 None | CVSS:4.0/AV:P/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/S:N/R:U/RE:M/U:Green | bcorg |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
Bouncy Castle for JavaLegion of the Bouncy Castle Inc. |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.