Staging Environment: Content and features may be unstable or change without notice.
Advisory details: gitlab / maven/org.bouncycastle/bc-fips/CVE-2025-9340
Advisory ID gitlab/maven/org.bouncycastle/bc-fips/CVE-2025-9340
Aliases CVE-2025-9340
GHSA-g6rx-6wfx-gj74
Summary Bouncy 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.
Status Published
Exploitability 0.5
Weighted Severity 0.0
Risk
Affected and Fixed Packages Package Details
Introduced and Fixed Package Commit Patches Package Commit Patches Details
Weaknesses (3)
No exploits are available.

No EPSS data available for this advisory.

Patch URL
There are no known patches.
Vector: CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:N Found at https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.bouncycastle/bc-fips/CVE-2025-9340.yml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-08-22T10:37:04Z/

Decision: Track

Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2025/9xxx/CVE-2025-9340.json

Source Advisory: vulnrichment/CVE-2025-9340

View SSVC decision tree
[{'Exploitation': 'none'},
 {'Automatable': 'no'},
 {'Technical Impact': 'partial'},
 {'Mission Prevalence': 'minimal'},
 {'Public Well-being Impact': 'material'},
 {'Mission & Well-being': 'medium'}]

Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-08-22T10:37:04Z/

Decision: Track

Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2025/9xxx/CVE-2025-9340.json

Source Advisory: vulnrichment/CVE-2025-9340

View SSVC decision tree
[{'Exploitation': 'none'},
 {'Automatable': 'no'},
 {'Technical Impact': 'partial'},
 {'Mission Prevalence': 'minimal'},
 {'Public Well-being Impact': 'material'},
 {'Mission & Well-being': 'medium'}]