Security Resilience

CVE-2026-71884

Legion of the Bouncy Castle BC-LTS-JAVA

Published
09 October 2026
Modified
15 October 2026
CVSS Score v4 8.2
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/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 43 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-71884 is a high-severity Reusing a Nonce, Key Pair in Encryption (CWE-323) vulnerability in Legion of the Bouncy Castle BC-LTS-JAVA (named in the CVE record; NVD lists no product yet). Its CVSS base score is 8.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Credential Access (T1212); 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-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In Bouncy Castle for Java LTS before 2.73.13, the native one-shot CTR packet cipher did not check that the requested input length fitted the counter space the IV left. In CTR mode the IV and the block counter share one…

more

16-byte block, so an IV of 13 to 15 bytes leaves a counter of only 1 to 3 bytes, addressing 256, 65536 or 16777216 blocks respectively. Given a longer input the counter wrapped and the keystream repeated from the start of the same packet, and the call then returned the full input length as though every byte had been correctly transformed. Two segments of the message were therefore encrypted under the same keystream, so their plaintexts can be recovered from the ciphertext alone, without the key, while the caller saw neither an exception nor a short length to indicate it. The streaming implementation validates at init and again while processing, and the portable AESCTRPacketCipher rejects such a request with "Counter in CTR/SIC mode out of range.", but the native one-shot path has a single entry point and performed no counter-range validation there. It now preflights the IV-derived counter range and rejects an over-long request before any output is written, so the operation is failure-atomic and never reports success for bytes it did not correctly transform. A counter of four bytes or more cannot be exhausted by a Java int length and is unaffected, as is a full 16-byte IV, where the counter range is the caller's responsibility. Bouncy Castle for Java (bcprov) is not affected, as it ships no native implementations.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
T1565.002 Transmitted Data Manipulation Impact
Adversaries may alter data en route to storage or other systems in order to manipulate external outcomes or hide activity, thus threatening the integrity of the data.
T1659 Content Injection Initial Access
Adversaries may gain access and continuously communicate with victims by injecting malicious content into systems through online network traffic.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-12205Shared CWE-323
CVE-2025-64767Shared CWE-323
CVE-2025-46632Shared CWE-323
CVE-2026-21383Shared CWE-323
CVE-2026-50577Shared CWE-323
CVE-2025-59870Shared CWE-323
CVE-2023-28997Shared CWE-323
CVE-2026-130921Shared CWE-323
CVE-2026-56369Shared CWE-323
CVE-2026-49952Shared CWE-323

Affected Assets

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

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V6.8.3
  • V11.3.4

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover nonce reuse through static analysis, fuzzing, or known-answer tests.

Engineering principles include correct use of cryptographic primitives such as unique nonces per key.

Selecting and implementing appropriate cryptographic algorithms and modes reduces nonce-reuse exposure.

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.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent nonce/key reuse errors in cryptographic implementations.

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.

blocks

Mandates proper cryptographic key and nonce management, directly preventing nonce/key-pair reuse.

finds

Security testing can detect nonce reuse, yet the control addresses many other issues beyond this CWE.

prevents

A.6.3's training for technical teams covers cryptographic skills and best practices, which prevents some instances of nonce/key pair reuse, but the flaw is a subtle implementation detail (often arising from RNG resets, object cloning, or hardcoded nonces) that even trained developers introduce, so the effect is a minority one — consistent with the A.6.3 vs CWE-598 anchor on developer-introduced weaknesses.

prevents

Secure-coding rules can require unique nonces, but the control is broader than this single weakness.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so a well-implemented contract reduces ordinary software weaknesses in delivered code the way those practices do; nonce reuse is a code-level cryptographic defect that secure coding guidance (8.28) and security testing (8.29) reach, but the clause depends on supplier implementation and developers are fallible, leaving a nameable remainder.

finds

A.8.8's reach is DISCLOSURE — it surfaces only instances that carry a vendor-published flaw. CWE-323 does surface as CVEs (CVE-2024-36289, CVE-2024-21530), so vulnerability scanning and management will find those disclosed third-party instances, but the bulk of nonce-reuse defects live in first-party cryptographic code that no advisory names, leaving a nameable remainder outside the clause's reach.

References