{"id":"CVE-2026-115407","aliases":["CVE-2026-115407"],"related":[],"kind":"vulnerability","state":"published","title":"In github.com/eclipse-keypont/crypto11/v2 versions <= 2.0.0-rc8 (and the deprecated v1 module paths github.com/eclipse-keypont/crypto11 <=…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-20T16:10:45.740Z","modified":"2026-11-20T19:18:36.020Z","severity":{"scorer":"eclipse","scheme":"CVSS:4.0","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","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"eclipse","scheme":"CVSS:4.0","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","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-20","CWE-323","CWE-1204"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.0.0-rc8","status":"affected"},{"version":"2.0.0-rc9","status":"unaffected"}],"vendor":"Eclipse Foundation","package":"github.com/eclipse-keypont/crypto11/v2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.6.8","status":"affected"}],"vendor":"Eclipse Foundation","package":"github.com/eclipse-keypont/crypto11","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.7.0-rc1","status":"affected"}],"vendor":"Eclipse Foundation","package":"github.com/ThalesGroup/crypto11","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.2.5","status":"affected"}],"vendor":"Eclipse Foundation","package":"github.com/ThalesIgnite/crypto11","source":"cvelist"}],"references":[{"url":"https://github.com/eclipse-keypont/crypto11/security/advisories/GHSA-c2cp-4qw8-q4jg","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/eclipse-keypont/crypto11/commit/8d99b73c721c173ad85c0ca4e063c3da360a611d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/491","tags":[],"sources":["cvelist","nvd"]}],"credits":["Eclipse Foundation Security Team"],"assigner":"eclipse","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-20T18:35:18.784Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-115407","url":"https://www.cve.org/CVERecord?id=CVE-2026-115407","licence":"CVE Terms of Use","modified":"2026-11-20T18:35:47.037Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-115407","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115407","licence":"Public domain","modified":"2026-11-20T19:18:36.020Z"}],"updatedAt":"2026-11-25T22:59:52.429Z","epss":{"score":0.00829,"percentile":0.58635,"date":"2026-12-01T12:00:22.000Z"}}