Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify service using BC NTRU KEM
-
DeliverySubmit repeated encapsulation/decapsulation requests
-
ExploitMeasure secret-dependent division latency
-
ExecutionStatistically correlate timing with key coefficients
-
ImpactRecover NTRU private key information
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
|
| Exploitation Conditions | Exploitation requires that the target application actually uses Bouncy Castle's NTRU KEM operations (key generation, encapsulation, or decapsulation) from a version before 1.86 with a persistent/reused private key, AND that the attacker can repeatedly invoke those operations while measuring their execution time with enough precision to resolve secret-dependent integer-division latency. Limiting factors are significant: NTRU post-quantum crypto is not enabled by default in most deployments and is rarely used, the attack (per CVSS AC:H/AT:P) needs a large volume of low-jitter timing samples to extract key information, and remote network timing noise makes co-located or low-latency measurement access effectively necessary. Impact is confidentiality-only (private-key information leakage); there is no integrity or availability effect. |
| Impact | This is a cryptographic timing side-channel (CWE-208) in the NTRU post-quantum KEM of Bouncy Castle for Java before 1.86, where three reduction helpers (Polynomial.modQ, Polynomial.mod3, NTRUSampling.mod3) used the '%' operator, compiling to integer divisions whose latency depends on secret operands (private-key polynomials f/g, message polynomials r/m, and coefficients recovered during decapsulation). The provided CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N, VC:H only) scores 8.2 but encodes the real difficulty: AC:H and AT:P signal that exploitation requires specific, hard-to-meet conditions and repeated high-precision timing measurement, not a trivial remote call. No EPSS score, KEV listing, or POC was provided, so there are no 'active exploitation' signals to corroborate the high base score - this is characteristic of a theoretically serious but operationally demanding cryptographic flaw rather than a mass-exploited vulnerability. In practice this is a lower real-world priority than the 8.2 suggests: it only matters where NTRU is actually deployed, demands many clean timing samples to recover key information, and has no integrity or availability impact. Note the AV:N classification is generous for a timing attack - remote network timing is extremely noisy, so realistic exploitation likely requires co-located or low-jitter measurement access; verify the practical attack vector against the vendor advisory. Confidentiality-only impact (private-key information disclosure) is the sole consequence. |
| Exploit ScenarioDerived | An application uses Bouncy Castle's NTRU KEM (before 1.86) to perform decapsulation with a long-lived private key, and an attacker who can trigger many decapsulation operations measures the time each takes. Because the secret-dependent modular reductions divide rather than mask, the attacker statistically correlates execution-time variations with private-key polynomial coefficients and gradually recovers key information. No public exploit code was identified at time of analysis, and the attack requires large volumes of low-noise timing samples (reflected in CVSS AC:H / AT:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Timing side-channel leakage in Bouncy Castle for Java (bc-java) versions before 1.86 exposes private-key information from NTRU post-quantum KEM operations because three modular-reduction helpers used the '%' operator, which compiles to an integer division whose latency depends on the secret operand. Affected call paths include key generation (secret polynomials f and g), encapsulation (message polynomials r and m), and decapsulation (coefficients recovered from the private key), and the CVSS 4.0 base score is 8.2 (assessed as CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - confidentiality only). Exploitation requires the application to actually invoke NTRU KEM operations with a persistent/reused key and an attacker able to repeatedly measure operation timing with low jitter, so practical risk is limited to deployments that use NTRU and expose those operations to a co-located or low-latency timing observer; no public exploit code has been identified at time of analysis and the flaw is not confirmed actively exploited (no CISA KEV listing), but a vendor patch is available and should be applied.
RemediationAI
Vendor-released patch: upgrade Bouncy Castle for Java to version 1.86 or later, which replaces the three timing-variable '%' reductions with the division-free masked/fold-and-select implementations (Polynomial.modQ now masks with q - 1, and Polynomial.mod3 plus NTRUSampling.mod3 use the reference fold-and-select); see the advisory https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9018036 and the fix commit https://github.com/bcgit/bc-java/commit/9c9ad88b6003bb6230d2434bd892cc1e95b294e4. Because the leaked material is private-key information, patching the library is not by itself sufficient - any NTRU key pair generated, encapsulated to, or decapsulated with a pre-1.86 build on an exposed path should be treated as potentially compromised and rotated after upgrading. If an upgrade cannot be performed immediately, the most effective compensating control is to stop using the NTRU KEM entirely (disable NTRU parameter sets and fail over to a different PQC or classical algorithm), accepting the loss of any NTRU-based post-quantum assurance; alternatively, remove NTRU key generation, encapsulation and decapsulation from any path reachable by untrusted or co-located callers, enforce strict request-rate limiting and coarse-grained timing jitter on any service that does expose them, and avoid long-lived reuse of a single NTRU private key. Note that rate limiting and network jitter only raise the sample count an attacker needs and are not cryptographically sound mitigations, and that these controls do not repair keys already exposed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NTRU is a lattice-based, post-quantum key-encapsulation mechanism implemented in Bouncy Castle for Java under org.bouncycastle.pqc.math.ntru and org.bouncycastle.pqc.crypto.ntru. Its arithmetic revolves around ternary polynomials reduced modulo 3 and polynomial coefficients reduced modulo q, where q is always a power of two (NTRUParameterSet.q() returns 1 << logQ, with logQ values 11-14 across the NTRUHPS2048509/677, NTRUHPS4096821/1229, NTRUHRSS701 and NTRUHRSS1373 parameter sets). The root cause is CWE-208 (Observable Timing Discrepancy): Java's '%' operator lowers to an integer division instruction whose execution latency varies with the operand values, and the reference NTRU implementation deliberately avoids division in exactly these helpers. Polynomial.modQ divided by a variable divisor q - which the JIT cannot strength-reduce to a multiply the way it can for a constant - and was invoked on the decapsulation path where the dividend derives from the private key; Polynomial.mod3 and NTRUSampling.mod3 divided the secret key polynomials f and g during key generation, the message polynomials r and m during encapsulation, and coefficients recovered during decapsulation. The fix removes all three divisions without changing results: modQ became a bitwise mask x & (q - 1), which is exactly x % q because q is a power of two and all call sites pass 16-bit-masked values; mod3 was replaced with the reference implementation's division-free fold-and-select (folding by 255, then 15, then 3 preserves the residue mod 3 and leaves a value of at most 5, which one masked conditional subtraction reduces to 0..2), and NTRUSampling.mod3 reuses that same mod3. Regression tests (PolynomialModTest, AllTests) were added to pin the new helpers to the values '%' produced across the entire input domain.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/U:Amber
Unauthenticated (PR:N) since timing is observed without credentials, but AC:H because key recovery needs many low-noise timing samples; confidentiality-only (key leak), no I/A impact.
Primary rating from Vendor (bcorg).
CVSS VectorVendor: bcorg
DescriptionCVE.org
In Bouncy Castle for Java before 1.86, NTRU reduced secret values with the % operator in three helpers whose reference implementations are deliberately division-free, so each reduction was carried out by an integer division whose latency depends on the secret operand. Polynomial.modQ divided by a variable divisor, which a compiler cannot strength-reduce to a multiply the way it can a constant one, so it emitted a division on every call including on the decapsulation path where the dividend derives from the private key; Polynomial.mod3 and NTRUSampling.mod3 divided the secret key polynomials f and g during key generation, the message polynomials r and m during encapsulation, and coefficients recovered during decapsulation. An attacker able to measure that timing can recover information about the NTRU private key. modQ now masks, which is exact because q is always a power of two, and mod3 uses the reference implementation's division-free fold and select; the results are unchanged.
Articles & Coverage 1
Executive ViewAI
Bouncy Castle for Java (bc-java) before 1.86 contains a timing side-channel in NTRU post-quantum KEM operations that could expose private-key material, but only for deployments that actively use NTRU KEM with reused keys and are exposed to a co-located or low-latency timing observer. Because no public exploit identified at time of analysis and Vendor-released patch: 1.86 is available, the immediate enterprise risk is concentrated in a narrow set of Java applications handling post-quantum cryptography; leadership should ensure those systems are identified and upgraded to protect long-term key confidentiality.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-91317
GHSA-frjj-v5w4-68pc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB