Read the docs
TI-2025-08562 Aliases CVE-2025-9340GHSA-g6rx-6wfx-gj74

native encrypt/decrypt operations in JCE may corrupt data if same byte array used for input and output.

Priority LOW 2CWE-787Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00177 7th percentileScored 2026-11-07
Fix Fixed org.bouncycastle:bc-fips (Maven): 2.1.1

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

VendorProductAffected versionsFixed inStatusSource
Legion of the Bouncy Castle Inc.Bouncy Castle for JavaBC-FJA 2.1.0 – 2.1.0—No fix listedCNA
—org.bouncycastle:bc-fips (Maven)2.1.0 to before 2.1.12.1.1Patch availableGHSA-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

  1. 2026-10-02 Threatist record created from CVE-2025-9340
  2. 2026-10-03 Alias added: GHSA-g6rx-6wfx-gj74

References

  • 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
See all 109 →

Sources