Security Resilience

CVE-2026-13505

Legion of the Bouncy Castle BC-FJA

Published
08 August 2026
Modified
23 October 2026
CVSS Score v4 8.7
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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:X/AU:X/R:X/V:X/RE:X/U:Amber
EPSS Score 0.0043 29th percentile
Risk Priority 44 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-13505 is a high-severity Missing Release of Resource after Effective Lifetime (CWE-772) vulnerability in Legion of the Bouncy Castle BC-FJA (named in the CVE record; NVD lists no product yet). Its CVSS base score is 8.7 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 29th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
T1499.003 Application Exhaustion Flood Impact
Adversaries may target resource intensive features of applications to cause a denial of service (DoS), denying availability to those applications.
T1498.001 Direct Network Flood Impact
Adversaries may attempt to cause a denial of service (DoS) by directly sending a high-volume of network traffic to a target.
T1499.001 OS Exhaustion Flood Impact
Adversaries may launch a denial of service (DoS) attack targeting an endpoint's operating system (OS).
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-35821Shared CWE-772
CVE-2026-43257Shared CWE-772
CVE-2025-36128Shared CWE-772
CVE-2026-118262Shared CWE-772
CVE-2026-43054Shared CWE-772
CVE-2025-61670Shared CWE-772
CVE-2023-47124Shared CWE-772
CVE-2024-49769Shared CWE-772
CVE-2026-41637Shared CWE-772
CVE-2026-71380Shared CWE-772

Affected Assets

Legion of the Bouncy Castle
BC-FJA
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover missing resource releases through dynamic analysis or stress testing.

Requiring documented development standards and tools can mandate explicit resource-release patterns in code.

Resource-quota allocation limits the blast radius of an unreleased-resource exhaustion condition.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

ID.AM-08 mostly match
blocks

Lifecycle management explicitly requires handling resources through end-of-life including release.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent missing resource-release defects during development.

DE.CM-09 partial match
blocks

Runtime monitoring may surface resource-exhaustion symptoms but does not address release logic.

PR.IR-04 partial match
blocks

Capacity monitoring can detect exhaustion caused by unreleased resources but does not prevent the root defect.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's combined programme (code review, static analysis, dynamic testing, penetration testing) reaches most CWE-772 instances: static analysis and code review catch the unclosed-handle/connection patterns in source, and dynamic/penetration testing can trigger resource exhaustion under load. The remainder is bounded and nameable — timing-dependent leaks that only manifest under specific operational conditions, and leaks inside third-party components the developer's testing does not fully reach.

prevents

Training developers in secure coding practices (including resource lifecycle management) reduces a minority of CWE-772 instances by raising awareness of release obligations, but the defect is subtle—often hiding in exception paths—and the strongest controls are code review and security testing (A.8.29), not training alone.

prevents

Secure-coding rules can mandate explicit resource-release patterns, but the control is broader than this single weakness.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) it contracts from the supplier, so it reduces ordinary software implementation weaknesses like CWE-772 in the same way those practices do, at the clause's declared ceiling of `partial`.

blocks

A.8.8 identifies, evaluates, and remediates vulnerabilities through updates or workarounds, but it does not itself interpose a runtime barrier that stops an already-present resource leak from being exploited.

References