native encrypt/decrypt operations in JCE may corrupt data if same byte array used for input and output.
Key facts
- Attack vector
- Physical
- Privileges required
- Low
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Legion of the Bouncy Castle Inc. | Bouncy Castle for Java | BC-FJA 2.1.0 – 2.1.0 | — | No fix listed | CNA |
| — | org.bouncycastle:bc-fips (Maven) | 2.1.0 to before 2.1.1 | 2.1.1 | Patch available | GHSA-g6rx-6wfx-gj74 |
- Bouncy Castle for Java VendorLegion of the Bouncy Castle Inc. Affected BC-FJA 2.1.0 – 2.1.0 Fixed in — No fix listed CNA
- org.bouncycastle:bc-fips (Maven) Vendor— Affected 2.1.0 to before 2.1.1 Fixed in 2.1.1 Patch available GHSA-g6rx-6wfx-gj74
Remediation
- Fix · GHSA-g6rx-6wfx-gj74 org.bouncycastle:bc-fips (Maven) Fixed in 2.1.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2025-9340
- 2026-10-03 Alias added: GHSA-g6rx-6wfx-gj74
References
More Legion of the Bouncy Castle Inc. vulnerabilities
- TI-2018-15967 Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to… CVSS 3.1CRITICAL 9.8
- TI-2017-09736 BouncyCastle JCE TLS Bleichenbacher/ROBOT CVSS 3.0HIGH 7.5
- TI-2026-42545 MTI/A0 DH agreement exponentiates unvalidated peer value CVSS 4.0CRITICAL 9.3
- TI-2026-42533 JSSE hostname verifier CN-fallback enabled by default despite documented opt-in CVSS 4.0CRITICAL 9.3
- TI-2026-41816 Stapled OCSP response accepted without binding to the checked certificate CVSS 4.0CRITICAL 9.3
- TI-2026-07701 Name Constraints bypass via trailing dot in rfc822Name and URI CVSS 4.0CRITICAL 9.3
Sources
- CVE-2025-9340 · CVE Program
- CVE-2025-9340 · NVD
- FIRST EPSS
- GHSA-g6rx-6wfx-gj74 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-9340 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences