CVSS 4.0
5.9 mediumCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/U:AmberMedium (5.9) in legion of the bouncy castle inc. bc-java. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.
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/U:AmberExplain CVE-2026-18040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-18040?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-18040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-18040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Legion of the Bouncy Castle Inc. BC-JAVA | from 1.73 before 1.86 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | bouncycastle | no fix listed | DEBIAN-CVE-2026-18040 |
| Debian | 14 | bouncycastle | 1.86-1 | DEBIAN-CVE-2026-18040 |
| Ubuntu | 26.04:LTS, 26.10, Pro:16.04:LTS and 4 more | bouncycastle | no fix listed | UBUNTU-CVE-2026-18040 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 more | bouncycastle | 1.86-150200.3.41.1 | SUSE-SU-2026:4797-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | bouncycastle | 1.86-160000.1.1 | SUSE-SU-2026:24461-1 |
| openSUSE | Leap 16.0 | bouncycastle | 1.86-160000.1.1 | openSUSE-SU-2026:22169-1 |
| openSUSE | Tumbleweed | bouncycastle | 1.86-1.1 | openSUSE-SU-2026:12090-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Moderate.
A side-channel vulnerability was discovered in Bouncy Castle's implementation of the Hamming Quasi-Cyclic (HQC) algorithm. The implementation performs non-constant-time Galois field arithmetic via operand-indexed lookup tables and executes branch-dependent operations during fixed-weight support sampling in key encapsulation and decapsulation routines. A local attacker sharing the physical host can observe memory cache line accesses or measure execution timing variations during cryptographic operations to extract sensitive intermediate state, ultimately reconstructing the HQC private key.
Avoid using the HQC algorithm for cryptographic key encapsulation in shared or multi-tenant environments. Configure applications to use alternative constant-time key encapsulation mechanisms until patched packages can be deployed.
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Developer Tools and Services | jenkins | Fix deferred | |
| OpenShift Developer Tools and Services | jenkins-2-plugins | Fix deferred | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel8 | Fix deferred | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel9 | Fix deferred | |
| Red Hat AMQ Broker 7 | bcprov-jdk18on | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/de-minimal-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/de-supported-rhel9 | Fix deferred | |
| Red Hat build of Apache Camel 4 for Quarkus 3 | bcprov-jdk18on | Fix deferred | |
| Red Hat build of Apache Camel for Spring Boot 4 | bcprov-jdk18on | Fix deferred | |
| Red Hat build of Apicurio Registry 3 | bcprov-lts8on | Fix deferred | |
| Red Hat Build of Keycloak | bcprov-jdk18on | Fix deferred | |
| Red Hat Build of Keycloak | rhbk/keycloak-rhel9 | Fix deferred | |
| Red Hat build of Quarkus | bcprov-jdk18on | Fix deferred | |
| Red Hat Fuse 7 | bcprov-jdk18on | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform 7 | bcprov-jdk18on | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform 7 | jboss-eap-7/eap74-els-openjdk11-openshift-rhel8 | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform 7 | jboss-eap-7/eap74-els-openjdk17-openshift-rhel8 | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform 7 | jboss-eap-7/eap74-els-openjdk8-openshift-rhel8 | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform 8 | bcprov-jdk18on | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bcprov-jdk18on | Fix deferred | |
| 12 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-18040.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.