cbcvebase.
CVE-2026-18040
published 2026-10-03

CVE-2026-18040: 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…

PriorityP423medium5.9CVSS 4.0
AVLACHATPPRNUINVCHVINVANSCNSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUAmber
EPSS
0.11%
1.1th percentile
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.

Affected

21 ranges
VendorProductVersion rangeFixed in
ansible-automation-platform-27de-minimal-rhel9——
ansible-automation-platform-27de-supported-rhel9——
candlepinprojectcandlepin——
devspacesjetbrains-ide-rhel9——
devspacesopenvsx-rhel9——
devspacespluginregistry-rhel9——
jboss-eap-7eap74-els-openjdk11-openshift-rhel8——
jboss-eap-7eap74-els-openjdk17-openshift-rhel8——
jboss-eap-7eap74-els-openjdk8-openshift-rhel8——
jenkinsjenkins——
legion_of_the_bouncy_castle_incbc-java>= 1.73 < 1.861.86
ocp-tools-4jenkins-rhel8——
ocp-tools-4jenkins-rhel9——
rhbkkeycloak-rhel9——
rhoaiodh-modelmesh-rhel9——
rhoaiodh-spark-operator-rhel9——
rhoaiodh-th06-cpu-torch210-py312-rhel9——
rhoaiodh-th06-cpu-torch291-py312-rhel9——
rhoaiodh-th06-cuda130-torch210-py312-rhel9——
rhoaiodh-th06-cuda130-torch291-py312-rhel9——
rhoaiodh-th06-rocm64-torch291-py312-rhel9——

CVSS provenance

nvdv4.05.9MEDIUMCVSS: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
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.