Skip to content
Fencer Intel
none 0.0

CVE-2025-9340 json

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

published last yr. modified 4mo ago also GHSA-g6rx-6wfx-gj74 , EUVD-2025-25505

cvss
0.0
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 7%
public exploits
0
none known

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.

Patch / fix

  • maven org.bouncycastle:bc-fips 2.1.1

Is CVE-2025-9340 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-9340 updated cvss 5.9

org.bouncycastle/bc-fips: Bouncy Castle for Java bc-fips: Out-of-bounds Write vulnerability allows local information disclosure, data modification, or denial of service.

  • Red Hat JBoss Enterprise Application Platform 8 bc-fips Red Hat JBoss Enterprise Application Platform Expansion Pack bc-fips
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 4.0 0.0 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
CNA 4.0 0.0 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

Affected packages

ecosystem package affected fixed in
maven org.bouncycastle:bc-fips
>=2.1.0, <2.1.1
2.1.1

Affected products

  • Legion of the Bouncy Castle Inc. Bouncy Castle for Java

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.