CVEBrief

Home / Legion of the Bouncy Castle Inc. / BC-FJA / CVE-2026-13505

CVE-2026-13505: is it exploited, and which versions of Legion of the Bouncy Castle Inc. BC-FJA are affected and fixed?

CVE-2026-13505 is a resource not released after use vulnerability in Legion of the Bouncy Castle Inc. BC-FJA. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: org.bouncycastle:bc-fips before 1.0.2.7, org.bouncycastle:bc-fips from 2.0.0 before 2.0.2 and org.bouncycastle:bc-fips from 2.1.0 before 2.1.3 (GitHub advisory GHSA-98j2-6v39-78w8). Fixed in 1.0.2.7, 2.0.2 and 2.1.3 (GitHub advisory GHSA-98j2-6v39-78w8). Severity: High (8.7, CVSS 4.0, from bcorg).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:09 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 17:39 UTC
Affected
org.bouncycastle:bc-fips before 1.0.2.7, org.bouncycastle:bc-fips from 2.0.0 before 2.0.2 and org.bouncycastle:bc-fips from 2.1.0 before 2.1.3
GitHub advisory GHSA-98j2-6v39-78w8
Fixed in
1.0.2.7, 2.0.2 and 2.1.3
GitHub advisory GHSA-98j2-6v39-78w8
Severity
High 8.7
CVSS 4.0 from bcorg
Exploit odds (EPSS)
0.25% in 30 days
higher than 18% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-13505?

Zeroisation of sensitive key material on garbage collection relies on finalization

In Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series), sensitive key material held by the AES and DESede engines, the SP 800-90A DRBGs, SymmetricSecretKey and the PBKD and scrypt parameter classes was zeroised on garbage collection by overriding Object.finalize. Finalization runs at an unspecified time and in an unspecified order and is serviced by a single finalizer thread, so where objects carrying a finalizer are allocated faster than that thread retires them the pending-finalization queue grows without bound: disposal falls arbitrarily far behind, which can contribute to an OutOfMemoryError under load, and the key material those objects hold stays resident in the heap for as long as they are queued, defeating the purpose of the zeroisation. The behaviour was not a problem on Java 8 or Java 11; it is later JVMs, on which finalization has been deprecated and progressively de-emphasised, where it becomes one. Disposal of these classes now runs from a java.lang.ref.Cleaner registered in the multi-release jdk1.9 overlay, so on Java 9 and later it no longer depends on the finalizer being scheduled. Bouncy Castle for Java (bcprov) and Bouncy Castle for Java LTS are not affected, as neither implements the finalizer-based zeroisation scheme.

From the CVE record by bcorg, last updated August 10, 2026, 18:23 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Legion of the Bouncy Castle Inc.BC-FJA bc-fips
all
from 1.0.0 before 1.0.2.7
from 2.0.0 before 2.0.2
from 2.1.0 before 2.1.3
1.0.2.7, 2.0.2, 2.1.3

As the CVE record by bcorg states it, last updated August 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.bouncycastle:bc-fips< 1.0.2.71.0.2.7GHSA-98j2-6v39-78w8
Mavenorg.bouncycastle:bc-fips>= 2.0.0, < 2.0.22.0.2GHSA-98j2-6v39-78w8
Mavenorg.bouncycastle:bc-fips>= 2.1.0, < 2.1.32.1.3GHSA-98j2-6v39-78w8

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 18, 2026. Summary: Bouncy Castle: Zeroisation of sensitive key material on garbage collection relies on finalization..

How severe is CVE-2026-13505?

ScoreVersionVectorSource
High 8.7CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amberbcorg

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-13505 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, August 10, 2026)
EPSS
0.25% probability of exploitation activity in the next 30 days, percentile 18.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 28, 2026
Published
August 8, 2026, 00:59 UTC
CVE record updated
August 10, 2026, 18:23 UTC by bcorg
NVD
Awaiting Analysis, last modified October 23, 2026, 20:10 UTC
Last checked
CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect BC-FJA?

Every CVE in BC-FJA

Questions about CVE-2026-13505

Is CVE-2026-13505 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Legion of the Bouncy Castle Inc. BC-FJA are affected by CVE-2026-13505?

org.bouncycastle:bc-fips before 1.0.2.7, org.bouncycastle:bc-fips from 2.0.0 before 2.0.2 and org.bouncycastle:bc-fips from 2.1.0 before 2.1.3, per the GitHub advisory GHSA-98j2-6v39-78w8. The tables above give every range the sources list.

Which version fixes CVE-2026-13505?

1.0.2.7, 2.0.2 and 2.1.3, per the GitHub advisory GHSA-98j2-6v39-78w8. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-13505?

High (8.7, CVSS 4.0, from bcorg). The severity table above shows each score with its source.

Where is the official record of CVE-2026-13505?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.