native encrypt/decrypt operations in JCE may corrupt data if same byte array used for input and output.
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Legion of the Bouncy Castle Inc. | Bouncy Castle for Java | unaffected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Bouncycastle | Legion-of-the-bouncy-castle-fips-java-api | — |
Vendor Workaround
This can be coded around by avoiding operations in place when dealing with aes-native encryption/decryption.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-25505 | Bouncy Castle for Java has Out-of-Bounds Write Vulnerability |
Github GHSA |
GHSA-g6rx-6wfx-gj74 | Bouncy Castle for Java has Out-of-Bounds Write Vulnerability |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.194% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Bouncycastle
Bouncycastle legion-of-the-bouncy-castle-fips-java-api |
|
| Vendors & Products |
Bouncycastle
Bouncycastle legion-of-the-bouncy-castle-fips-java-api |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | native encrypt/decrypt operations in JCE may corrupt data if same byte array used for input and output. | |
| Weaknesses | CWE-787 | |
| References |
| |
| Metrics |
cvssV4_0
|