CVE-2025-9340

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.

Affected Software

VendorProductVersion RangeStatus
Legion of the Bouncy Castle Inc.Bouncy Castle for JavaBC-FJA 2.1.0 <= 2.1.0affected

Weaknesses

  • CWE-787: CWE-787 Out-of-bounds Write

Workarounds

This can be coded around by avoiding operations in place when dealing with aes-native encryption/decryption.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References