CVE-2025-9340
NONE 0.0CVSS 4.0Bouncy Castle for Java has Out-of-Bounds Write Vulnerability
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.
- Published
- 22 Aug 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 91579145-5d7b-4cc5-b925-a0262ff19630
- NVD status
- Deferred
- Weakness
- CWE-787
- Also known as
- GHSA-g6rx-6wfx-gj74
- Sources
- NVDJSONOSV GHSA-g6rx-6wfx-gj74JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 91579145-5d7b-4cc5-b925-a0262ff19630 (Secondary) | CVSS 4.0 | NONE 0.0 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.bouncycastle:bc-fips | >= 2.1.0, < 2.1.1 | 2.1.1 |
References
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909340 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-9340 · ADVISORY
- https://github.com/bcgit/bc-java · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 22 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Aug 2025)