Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-9340 — bc-fips

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-787 NVD
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

How this vulnerability can be exploited

This issue can be reached with physical access to the device, attack complexity is low, an attacker needs low-level privileges on the target. A user must actively cooperate. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability none.

CVSS metrics in full

The score comes from this vector: 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

  • Attack vector: Physical — the attacker has to touch the device.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Attack requirements: Present — the target has to be in a particular state for the attack to work.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: Active — the victim has to cooperate with the attack.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: None.

Weakness class

CVE-2025-9340 is classified as CWE-787: Out-of-bounds Write. Data is written past the end or before the start of a buffer, corrupting whatever is stored there.

Affected software

CVE-2025-9340 is recorded against 2 packages.

  • org.bouncycastle:bc-fips (from 2.1.0 up to 2.1.1)
  • unknown

Timeline and source

Published on 22 August 2025. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

nvd.nist.gov (Advisory)
github.com (Package)
github.com (Web)

Other advisories for this package

org.bouncycastle:bc-fips has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-787: Out-of-bounds Write) in other software:

Details

Severity LOW
CVSS Score 2.0
CVSS Vector 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
CWE CWE-787
Public Exploit ✅ No
Source NVD
Published 2025-08-22
Updated 2026-08-20
Modified 2025-08-22
Fix URL N/A

Affected Packages

Software From version Fixed in
org.bouncycastle:bc-fips 2.1.0 2.1.1
unknown

Free Vulnerability Check

Is your site affected by CVE-2025-9340?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2025-9340 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025