Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2025-9340

Summary
Assigner-bcorg
Assigner Org ID-91579145-5d7b-4cc5-b925-a0262ff19630
Published At-22 Aug, 2025 | 09:39
Updated At-22 Aug, 2025 | 10:37
Rejected At-
Credits

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

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:bcorg
Assigner Org ID:91579145-5d7b-4cc5-b925-a0262ff19630
Published At:22 Aug, 2025 | 09:39
Updated At:22 Aug, 2025 | 10:37
Rejected At:
▼CVE Numbering Authority (CNA)
native encrypt/decrypt operations in JCE may corrupt data if same byte array used for input and output.

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 Products
Vendor
Legion of the Bouncy Castle Inc.
Product
Bouncy Castle for Java
Collection URL
https://repo1.maven.org/maven2/org/bouncycastle
Package Name
bc-fips
Repo
ssh://bcgit@git.bouncycastle.org:bc-fips-2.1.X-java.git
Modules
  • API
Program Files
  • org/bouncycastle/jcajce/provider/BaseCipher
Platforms
  • All
Default Status
unaffected
Versions
Affected
  • From BC-FJA 2.1.0 through 2.1.0 (maven)
Problem Types
TypeCWE IDDescription
CWECWE-787CWE-787 Out-of-bounds Write
Type: CWE
CWE ID: CWE-787
Description: CWE-787 Out-of-bounds Write
Metrics
VersionBase scoreBase severityVector
4.00.0NONE
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/S:N/R:U/RE:M/U:Green
Version: 4.0
Base score: 0.0
Base severity: NONE
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/S:N/R:U/RE:M/U:Green
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

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

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909340
N/A
Hyperlink: https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909340
Resource: N/A
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:91579145-5d7b-4cc5-b925-a0262ff19630
Published At:22 Aug, 2025 | 10:15
Updated At:22 Aug, 2025 | 18:08

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary4.00.0NONE
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
Type: Secondary
Version: 4.0
Base score: 0.0
Base severity: NONE
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
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-787Secondary91579145-5d7b-4cc5-b925-a0262ff19630
CWE ID: CWE-787
Type: Secondary
Source: 91579145-5d7b-4cc5-b925-a0262ff19630
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%90934091579145-5d7b-4cc5-b925-a0262ff19630
N/A
Hyperlink: https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909340
Source: 91579145-5d7b-4cc5-b925-a0262ff19630
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found