nday
CVE-2025-9340

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

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

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

buffer overflow / out-of-bounds write
CWE-787, stated by the CNA bcorg and NVD, republishing 91579145-5d7b-4cc5-b925-a0262ff19630
physical
AV:P in 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 (CVSS 4.0) from the CNA bcorg
Bouncy Castle
affected products in the CVE record: Legion of the Bouncy Castle Inc. · Bouncy Castle for Java
open-source library / framework
affected products in the CVE record: Legion of the Bouncy Castle Inc. · Bouncy Castle for Javathe product type of Bouncy Castle in nday's product registry
stage
DIS
disclosed
cvss
0.0 NONE v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-08-22T09:39Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:P
Physical: needs physical access to the device
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:A
Active: a user must deliberately do something specific, such as install or run a file or dismiss a warning

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

CVSS 4.0 vector from the CVE record, scored by the CNA bcorg.

Event log

+DISdisclosed

CVE record published by bcorg. CVSS 0, none.

src cvelist · nday , bulk import · raw
{
  "id": 357186,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-9340",
  "occurred_at": "2025-08-22T09:39:47.303Z",
  "observed_at": "2026-11-13T05:38:53.618029Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "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",
      "version": "4.0",
      "base_score": 0,
      "base_severity": "NONE"
    },
    "ssvc": {
      "timestamp": "2025-08-22T10:37:04.005071Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2025-08-22T09:39:47.303Z",
    "assigner_short_name": "bcorg"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.