Skip to content
DayZeroHub
Critical Not yet writtenCVSS 9.1CVE-2026-115407

CVE-2026-115407: In `github.com/eclipse-keypont/crypto11/v2` versions `<= 2.0.0-rc8` (and the deprecated v1 module paths `github.com/eclipse-keypont/crypto11

Eclipse Foundation

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-115407: critical-severity vulnerability (CVSS 9.1) in Eclipse Foundation.

What happened

Original description from the source: 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.

Why it matters

Critical severity, CVSS 9.1.

Affected products and versions

Eclipse Foundation github.com/eclipse-keypont/crypto11/v2 <= 2.0.0-rc8; Eclipse Foundation github.com/eclipse-keypont/crypto11/v2 2.0.0-rc9 (fixed in 2.0.0-rc9); Eclipse Foundation github.com/eclipse-keypont/crypto11 <= 1.6.8; Eclipse Foundation github.com/ThalesGroup/crypto11 <= 1.7.0-rc1; Eclipse Foundation github.com/ThalesIgnite/crypto11 <= 1.2.5

ProductVersionsFixed in
Eclipse Foundation github.com/eclipse-keypont/crypto11/v2<= 2.0.0-rc8—
Eclipse Foundation github.com/eclipse-keypont/crypto11/v22.0.0-rc92.0.0-rc9
Eclipse Foundation github.com/eclipse-keypont/crypto11<= 1.6.8—
Eclipse Foundation github.com/ThalesGroup/crypto11<= 1.7.0-rc1—
Eclipse Foundation github.com/ThalesIgnite/crypto11<= 1.2.5—

Action recommended by the source

Upgrade to a fixed version: 2.0.0-rc9.

Fixed in: 2.0.0-rc9

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-323, CWE-1204, CWE-20

Relevant change history

  1. Published

    Preliminary advisory published.