CVE-2026-115407: Input Validation

Published Nov 20, 2026
·
Updated

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 CKGCMPARAMS 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.

Affected Software

4 affected components
golang/github.com/eclipse-keypont/crypto11/v2<=2.0.0-rc8
golang/github.com/eclipse-keypont/crypto11<=1.6.8
golang/github.com/ThalesGroup/crypto11<=1.7.0-rc1
golang/github.com/ThalesIgnite/crypto11<=1.2.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    When Config.UseGCMIVFromHSM is enabled, also set GCMIVFromHSMControl.SupplyIvForHSMGCMEncrypt so the token has space to write its generated IV.

    crypto11 GCMIVFromHSMControl.SupplyIvForHSMGCMEncrypt = true

Event History

Nov 20, 2026
CVE Published
via MITRE·04:10 PM
Data Sourced
via MITRE·04:10 PM
DescriptionWeakness
Data Sourced
via OSV·04:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:18 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203