Skip to content
A detailed explainer is available in Japanese. Read the Japanese explainer
Critical 9.1

crypto11のIV再利用の脆弱性、v2のみ修正版

CVE-2026-115407 First seen on SecPulse

Summary

Go用のHSM連携ライブラリcrypto11で、AES-GCMが空や短いnonceを受け入れてIVを再利用し、暗号文の偽造につながる脆弱性が公表されました。該当するGoアプリを持つ組織は、v2の修正版へ移行し、nonceの長さを呼び出し側でも検査してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Go用のHSM連携ライブラリcrypto11で、AES-GCMが空や短いnonceを受け入れてIVを再利用し、暗号文の偽造につながる脆弱性が公表されました。該当するGoアプリを持つ組織は、v2の修正版へ移行し、nonceの長さを呼び出し側でも検査してください。

Affected packages

PackageAffected → Fixed
Eclipse Foundationgithub.com/eclipse-keypont/crypto11/v2
≤ 2.0.0-rc8→ Not listed
Eclipse Foundationgithub.com/eclipse-keypont/crypto11
≤ 1.6.8→ Not listed
Eclipse Foundationgithub.com/ThalesGroup/crypto11
≤ 1.7.0-rc1→ Not listed
Eclipse Foundationgithub.com/ThalesIgnite/crypto11
≤ 1.2.5→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by 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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details