All CVEs / Legion of the Bouncy Castle Inc.
CVE-2026-18040Legion of the Bouncy Castle Inc. BC-JAVA
Medium 5.9
Follow: this CVE · Legion of the Bouncy Castle Inc. · Legion of the Bouncy Castle Inc. BC-JAVA We alert you by email or Slack (account required).
- Priority
- 35
- CVSS 4.0
- 5.9
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 3, 2026
- Updated
- Oct 6, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-208
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:H/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
What happens
In Bouncy Castle for Java before 1.86, HQC leaked secret-derived data through two side channels: its GF(2^8) arithmetic used lookup tables indexed by field elements, making the cache line touched a function of the operand, and its fixed-weight support sampler left its duplicate scan as soon as a collision was found and stored accepted positions at a secret index. Both run on secret inputs during encapsulation and decapsulation, and the sampler re-expands the secret key from its seed on every decapsulation, so an attacker able to observe cache behaviour or decapsulation timing can recover information about the HQC private key. The field arithmetic is now table-free and the sampler branch-free within a batch of candidates, with output and randomness consumption unchanged.
What to do
- Apply the vendor's security update for BC-JAVA.
Affected products
- Legion of the Bouncy Castle Inc. · BC-JAVA
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for bouncycastle · SUSE · SUSE-SU-2026:24943-1 · Nov 18, 2026 Critical
- Security update for bouncycastle · SUSE · SUSE-SU-2026:24888-1 · Nov 18, 2026 Critical
- Security update for bouncycastle · SUSE · openSUSE-SU-2026:22382-1 · Nov 18, 2026 Critical
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.