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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.0.2.7, 2.0.2, 2.1.3 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-08 · Modified: 2026-08-10
- Aliases: UBUNTU-CVE-2026-13505, CGA-3v7p-g2p9-pv89, CGA-gph7-84j9-chrf, CGA-23fw-76xf-pfvq, CGA-23m3-h9q6-3538, CGA-2mqm-r227-6cw7, CGA-33r5-w8fh-j2f6, CGA-3fgw-37p8-rqgx, CGA-44gm-f5w5-f98w, CGA-4fr8-5h66-mw4h, CGA-57w5-pmqp-72rg, CGA-5hc8-3f77-v4qr, CGA-5jq7-2pf2-hgq4, CGA-669r-fvfg-26jf, CGA-6x74-5rwp-f23f, CGA-7gfm-r447-chr3, CGA-7v52-rcw7-vpqj, CGA-7wwf-xrwm-j5c4, CGA-95jw-qcrj-wgf4, CGA-9v7x-r88p-q38c, CGA-chfw-w5g9-rmm8, CGA-cpr3-x35x-549m, CGA-fcpc-pv69-9qhw, CGA-fhr3-mm25-jhr3, CGA-h36m-6vw3-cgxh, CGA-j98v-7hxr-xxxm, CGA-jwq3-v63f-pr7v, CGA-m49m-mv2q-987p, CGA-mhf9-wgxg-3gj7, CGA-mrg3-433h-v6m4, CGA-mvh3-mf38-9j75, CGA-pjjr-v5wv-6r5c, CGA-ppv7-3w48-rpr7, GHSA-98j2-6v39-78w8, CGA-q4gq-6c7j-j5pf, CGA-q4vc-2cxc-2868, CGA-q8h5-ph62-r5xf, CGA-qc8w-w2x8-5f2p, CGA-qp3v-r9r7-w974, CGA-r562-xw8q-qm99, CGA-rhxw-g5q6-35r4, CGA-rwrr-p66f-q967, CGA-vwmx-9g4q-47v5, CGA-xc48-78v4-crjm
- Record: https://cvemate.com/vulnerability/CVE-2026-13505 · JSON: https://cvemate.com/vulnerability/CVE-2026-13505/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) CVSS: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:Amber
- EPSS: 0.253%, percentile 17.898%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 24)

- chainguard apache-pulsar-fips-4.0 (Chainguard): \< 4.0.13-r4
- chainguard apache-pulsar-fips-4.2 (Chainguard): \< 4.2.4-r5
- chainguard bouncycastle-fips (Chainguard): \< 2.1.3-r0
- chainguard cassandra-fips-4.0 (Chainguard): \< 4.0.21-r2
- chainguard cassandra-fips-4.1 (Chainguard): \< 4.1.12-r2
- chainguard cassandra-fips-5.0 (Chainguard): \< 5.0.8-r15
- chainguard commercial-elasticsearch-8.17 (Chainguard): All versions (No fix recorded)
- chainguard commercial-elasticsearch-9.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-elasticsearch-9.3 (Chainguard): All versions (No fix recorded)
- chainguard elasticsearch-9.2 (Chainguard): \< 9.2.8-r15
- chainguard elasticsearch-9.3 (Chainguard): All versions (No fix recorded)
- chainguard guacamole-client-extensions (Chainguard): \< 1.6.0-r16
- chainguard keycloak-fips-26.6 (Chainguard): \< 26.6.7-r1
- chainguard keycloak-fips-26.6-iamguarded-fips (Chainguard): \< 26.6.7-r1
- chainguard keycloak-fips-26.7 (Chainguard): \< 26.7.4-r1
- chainguard keycloak-fips-26.7-iamguarded-fips (Chainguard): \< 26.7.4-r1
- chainguard opensearch-2 (Chainguard): \< 2.19.6-r11
- chainguard opensearch-2-ml-commons (Chainguard): \< 2.19.6-r11
- chainguard wazuh-indexer (Chainguard): \< 4.14.7-r6
- chainguard wazuh-indexer-plugin-ml-commons (Chainguard): \< 4.14.7-r6

## References

- <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9013505>
- <https://ubuntu.com/security/CVE-2026-13505>
- <https://www.cve.org/CVERecord?id=CVE-2026-13505>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-13505>
- <https://github.com/bcgit/bc-java>

---

Data as of 2026-12-05T06:11:06.377Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
