CVE-2026-18040
Last modified
CVE-2026-18040 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
Description
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.
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-18040?
How severe is CVE-2026-18040?
How do I fix CVE-2026-18040?
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-18035The User Access Manager WordPress plugin before 2.3.15 does …5.3
- CVE-2026-18036In Bouncy Castle for Java before 1.86, NTRU reduced secret v…8.2
- 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-18042The WP Travel WordPress plugin before 12.0.2 does not verif…5.3
- CVE-2026-18044The Estatik Real Estate Plugin WordPress plugin before 4.3.4…3.7
- CVE-2026-18046The Cookie Consent WordPress plugin before 0.0.10 does not …4.3
- CVE-2026-18047A flaw was found in Dogtag PKI's ACME responder where the we…6.5
- CVE-2026-18048The WP Photo Album Plus WordPress plugin before 9.2.07.002 d…7.5
- CVE-2026-18049The WP Photo Album Plus WordPress plugin before 9.2.07.002 d…7.5
Are you affected by CVE-2026-18040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
