8.7

CVE-2026-13505: Zeroisation of sensitive key material on garbage collection relies on finalization

Awaiting analysis
AliasesUBUNTU-CVE-2026-13505CGA-3v7p-g2p9-pv89CGA-gph7-84j9-chrf
Published 08-08-2026Last modified 10-08-2026

Vulnerability summary

CVE-2026-13505 is a high (CVSS 8.7) vulnerability in legion of the bouncy castle inc. bc-fja. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 17.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.25%
0%100%
Low · -0.17 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 08-08-2026
    PublishedVulnerability first disclosed.
  2. 10-08-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

18%

Versus all other CVEs

30-day change

Decrease -0.17 pp

From 0.43% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard20 products
  • apache-pulsar-fips-4.0< 4.0.13-r4
  • apache-pulsar-fips-4.2< 4.2.4-r5
  • bouncycastle-fips< 2.1.3-r0
  • cassandra-fips-4.0< 4.0.21-r2
  • cassandra-fips-4.1< 4.1.12-r2
Legion of the bouncy castle inc.1 product
  • bc-fja≥ 1.0.0, < 1.0.2.7 | ≥ 2.0.0, < 2.0.2 | ≥ 2.1.0, < 2.1.3
Org.bouncycastle1 product
  • bc-fips< 1.0.2.7 | ≥ 2.0.0, < 2.0.2 | ≥ 2.1.0, < 2.1.3
Ubuntu1 product
  • bouncycastleAll versions (No fix recorded)
Wolfi1 product
  • opensearch-2< 2.19.6-r11

5 vendors · 24 products

References

5 links