CVE-2025-9340
published none CVSS 4.0 · 0.0native encrypt/decrypt operations in JCE may corrupt data if same byte array used for input and output.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Legion of the Bouncy Castle Inc. | — | bc-fipsBouncy Castle for Java · BC-FJA 2.1.0 through 2.1.0 · Other versions: unaffected · Platforms: All | Affected | Not stated | bcorg |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 0.0 / 10
- Severity
- none
- Provider
- bcorg · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Legion of the Bouncy Castle Inc. | Bouncy Castle for Java | BC-FJA 2.1.0 through 2.1.0 (affected · maven)Default: unaffected | bcorg · cna |
Weaknesses
1- CWE-787 CWE-787 Out-of-bounds Write
References
1Provider assertions
2bcorg · cna
native encrypt/decrypt operations in JCE may corrupt data if same byte array used for input and output.
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cbbc5063a6f391af5932bab8b554dc99c0ad1aa7fbc629cf50d9ec3c953a1162
- Ingested
- 23 Sep 2026, 08:59:28 UTC
- Source record
- Official CVE record