CVE-2026-18040 HQC leaks private key information through secret-indexed GF(2^8) tables and a secret-dependent fixed-weight sampler
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
40 packages: 2 fixed, 38 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/bouncycastle(Debian 12) | = 1.72-2; = 1.77-1; = 1.80-1; = 1.80-2 +3 more | No fix listed | No fix yet |
| debian/bouncycastle(Debian 13) | = 1.80-3; = 1.86-1; All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/de-minimal-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/de-supported-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat amq_broker 7) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat build_keycloak) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat camel_quarkus 3) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat camel_spring_boot 4) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat jboss_enterprise_application_platform 7) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat jboss_enterprise_application_platform 8) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat jboss_fuse 7) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat jbosseapxp) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat quarkus 3) | All versions | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat red_hat_single_sign_on 7) | All versions | No fix listed | No fix yet |
| redhat/bcprov-lts8on(Red Hat apicurio_registry 3) | All versions | No fix listed | No fix yet |
| redhat/candlepin(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/devspaces/jetbrains-ide-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/devspaces/openvsx-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/devspaces/pluginregistry-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/jboss-eap-7/eap74-els-openjdk11-openshift-rhel8(Red Hat jboss_enterprise_application_platform 7) | All versions | No fix listed | No fix yet |
| redhat/jboss-eap-7/eap74-els-openjdk17-openshift-rhel8(Red Hat jboss_enterprise_application_platform 7) | All versions | No fix listed | No fix yet |
| redhat/jboss-eap-7/eap74-els-openjdk8-openshift-rhel8(Red Hat jboss_enterprise_application_platform 7) | All versions | No fix listed | No fix yet |
| redhat/jenkins(Red Hat ocp_tools) | All versions | No fix listed | No fix yet |
| redhat/jenkins-2-plugins(Red Hat ocp_tools) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel8(Red Hat ocp_tools) | All versions | No fix listed | No fix yet |
| redhat/ocp-tools-4/jenkins-rhel9(Red Hat ocp_tools) | All versions | No fix listed | No fix yet |
| redhat/rhbk/keycloak-rhel9(Red Hat build_keycloak) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-modelmesh-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-spark-operator-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-th06-cpu-torch210-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
… and 10 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle/bcprov-jdk18on | >= 1.73, < 1.86 | 1.86 |
| redhat/jenkins(Red Hat:ocp_tools) | All versions | No fix listed |
| redhat/jenkins-2-plugins(Red Hat:ocp_tools) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel8(Red Hat:ocp_tools) | All versions | No fix listed |
| redhat/ocp-tools-4/jenkins-rhel9(Red Hat:ocp_tools) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:amq_broker:7) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/de-minimal-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/de-supported-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:camel_quarkus:3) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:camel_spring_boot:4) | All versions | No fix listed |
| redhat/bcprov-lts8on(Red Hat:apicurio_registry:3) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:build_keycloak:) | All versions | No fix listed |
| redhat/rhbk/keycloak-rhel9(Red Hat:build_keycloak:) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:quarkus:3) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/jboss-eap-7/eap74-els-openjdk11-openshift-rhel8(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/jboss-eap-7/eap74-els-openjdk17-openshift-rhel8(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/jboss-eap-7/eap74-els-openjdk8-openshift-rhel8(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:jbosseapxp) | All versions | No fix listed |
| redhat/rhoai/odh-modelmesh-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-spark-operator-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cpu-torch210-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cpu-torch291-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
Show 24 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhoai/odh-th06-cuda130-torch210-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cuda130-torch291-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-rocm64-torch291-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/devspaces/jetbrains-ide-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/devspaces/openvsx-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/devspaces/pluginregistry-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/candlepin(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/bcprov-jdk18on(Red Hat:red_hat_single_sign_on:7) | All versions | No fix listed |
| debian/bouncycastle(Debian:12) | All versions | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.72-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.77-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-3 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.86-1 | No fix listed |
| debian/bouncycastle(Debian:13) | All versions | No fix listed |
| debian/bouncycastle(Debian:13) | = 1.80-3 | No fix listed |
| debian/bouncycastle(Debian:13) | = 1.86-1 | No fix listed |
| debian/bouncycastle(Debian:14) | < 1.86-1 | 1.86-1 |
| debian/bouncycastle(Debian:14) | = 1.80-3 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com vendor-advisory
- github.com patch
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2545501 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-18040 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-92004 third-party-advisory