Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2025-9340
PUBLISHED
More InfoOfficial Page
Assigner-bcorg
Assigner Org ID-91579145-5d7b-4cc5-b925-a0262ff19630
View Known Exploited Vulnerability (KEV) details
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
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
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
▼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
Details not found