CVE-2025-9340: Legion of the Bouncy Castle Inc. Bouncy Castle for Java - Out-of-Bounds Write
- Cve: CVE-2025-9340
- Name: Legion of the Bouncy Castle Inc. Bouncy Castle for Java - Out-of-Bounds Write
- 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.
- Impact: Attackers can corrupt memory, potentially leading to application crashes or remote code execution.
- Remediation: Update to the latest version beyond 2.1.0.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:X/R:U/V:X/RE:M/U:Green
- Epss score: 0.0021
- Epss percentile: 0.11125
- Assignee: 91579145-5d7b-4cc5-b925-a0262ff19630
- Published at: 2025-08-22T10:15:33Z
- Age in days: 459
- Modified at: 2026-06-17T10:08:46Z
- References total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-9340
- Nvd status: deferred
- Checked, none or zero: cvss score, patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909340 | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| bcgit/bc-java | package | yes | /v1/repositories/bcgit/bc-java |
Index
- Repositories: 9
- Repositories high signal: 6
- Checked, none or zero: packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts