CVE-2026-115407Eclipse Foundation
Insufficient GCM nonce validation in crypto11
Critical 9.1 No auth needed
Follow: this CVE · Eclipse Foundation We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 4.0
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/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:X
What happens
The Eclipse Foundation crypto11 library in versions <= 2.0.0-rc8 (and deprecated v1 branches) fails to validate nonce length in GCM operations, accepting empty nonces. This causes keystream reuse on HSM tokens like SoftHSM2, exposing the GHASH authentication key and enabling authentication forgeries. Additionally, HSM-IV mode can panic or return ciphertext encrypted under an incorrect IV.
Show the original NVD text
In `github.com/eclipse-keypont/crypto11/v2` versions `<= 2.0.0-rc8` (and the deprecated v1 module paths `github.com/eclipse-keypont/crypto11 <= 1.6.8`, `github.com/ThalesGroup/crypto11 <= 1.7.0-rc1` and `github.com/ThalesIgnite/crypto11 <= 1.2.5`), the `cipher.AEAD` returned by `SecretKey.NewGCM()` passes whatever nonce it is given straight to `CK_GCM_PARAMS` without checking its length against `NonceSize()`, and accepts an empty nonce. On a token that accepts a zero-length GCM IV — SoftHSM2 does — every `Seal` with an empty nonce encrypts under the same IV, reusing the keystream and exposing the GHASH authentication key, which allows forgeries. Separately, `Config.UseGCMIVFromHSM` sends a NULL IV with length zero to the token unless `GCMIVFromHSMControl.SupplyIvForHSMGCMEncrypt` is also set, so the token has nowhere to write the IV it generates: a `Seal` with a non-empty nonce panics after the plaintext has already been encrypted, and a `Seal` with an empty nonce returns ciphertext under an empty IV without error. On the v1 line HSM-IV mode additionally never copies the token-generated IV back to the caller, so the caller keeps its own nonce while the data was encrypted under another one.
What to do
Patch available
Update crypto11 to version 2.0.0-rc9 or later, or to the patched version of deprecated v1 branches. Review data encrypted with affected versions.
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Eclipse Foundation
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.