{"id":"CVE-2026-115407","title":"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 …","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 …","severity":"critical","cvss":9.1,"cvssVector":"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","cvssSource":"cna","cwe":["CWE-323","CWE-1204","CWE-20"],"vendor":"Eclipse Foundation","product":"github.com/eclipse-keypont/crypto11/v2","affected":["github.com/eclipse-keypont/crypto11/v2 <= 2.0.0-rc8","github.com/eclipse-keypont/crypto11 <= 1.6.8","github.com/ThalesGroup/crypto11 <= 1.7.0-rc1","github.com/ThalesIgnite/crypto11 <= 1.2.5"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-20T18:35:18.784408Z"},"exploitAvailable":true,"published":"2026-11-20","updated":"2026-11-20","sourceUpdated":"2026-11-20T18:35:47.037Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-115407","references":[{"url":"https://github.com/eclipse-keypont/crypto11/security/advisories/GHSA-c2cp-4qw8-q4jg"},{"url":"https://github.com/eclipse-keypont/crypto11/commit/8d99b73c721c173ad85c0ca4e063c3da360a611d"},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/491"}],"tags":["cve.org","exploit-available"],"epss":0.00829,"epssPercentile":0.5827,"ingestedAt":"2026-11-23T22:38:00.029Z","slug":"CVE-2026-115407","body":"## Overview\n\nIn `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.\n\n## Affected\n\n- `github.com/eclipse-keypont/crypto11/v2 <= 2.0.0-rc8`\n- `github.com/eclipse-keypont/crypto11 <= 1.6.8`\n- `github.com/ThalesGroup/crypto11 <= 1.7.0-rc1`\n- `github.com/ThalesIgnite/crypto11 <= 1.2.5`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"abyssal","depthScore":62,"depthScoreParts":{"impact":50.1,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[]}