CVE-2026-18036
Last modified
CVE-2026-18036 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Legion of the Bouncy Castle Inc. | BC-JAVA | >= 1.73, < 1.86 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-18036?
How severe is CVE-2026-18036?
How do I fix CVE-2026-18036?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-18029Our payment integration with GiroCheckout did not properly v…6.3
- CVE-2026-1803A weakness has been identified in Ziroom ZHOME A0101 1.0.1.0…8.2
- CVE-2026-18030The BricksForge WordPress plugin before 3.1.8.8 does not ver…8.1
- CVE-2026-18031The TabaPay Gateway WordPress plugin through 1.4.0 does not …9.8
- CVE-2026-18032The WP Data Access WordPress plugin before 5.5.79 does not …7.5
- CVE-2026-18035The User Access Manager WordPress plugin before 2.3.15 does …5.3
- CVE-2026-18037The Create WordPress plugin before 2.5.4 does not perform an…6.5
- CVE-2026-18038A flaw has been found in nextlevelbuilder GoClaw up to 3.13.…4.3
- CVE-2026-18039The Essential Addons for Elementor WordPress plugin before …8.1
- CVE-2026-1804The WDES Responsive Popup plugin for WordPress is vulnerable…6.4
- CVE-2026-18040In Bouncy Castle for Java before 1.86, HQC leaked secret-der…5.9
- CVE-2026-18042The WP Travel WordPress plugin before 12.0.2 does not verif…5.3
Are you affected by CVE-2026-18036?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
