Critical, CVSS 9.2GoPublished
SM9 Infinity-Point Ciphertext Forgery Vulnerability
CVE-2026-32614 · GHSA-5xxp-2vrj-x855
- Affected
- Go github.com/emmansun/gmsm < 0.41.1
- Fixed in
- 0.41.1· Vendor fix available
- Issue
- The current SM9 decryption implementation contains an infinity-point ciphertext forgery vulnerability. The root cause is that, during decryption, the elliptic-curve point C1 in the ciphertext is only deserialized and checked to be on the curve, but the implementation does not explicitly reject the point at infinity. In the current implementation, an attacker can construct C1 as the point at infinity, causing the bilinear pairing result to degenerate into the identity element in the GT group. As a result, a critical part of the key derivation input becomes a predictable constant. An attacker who only knows the target user's UID can derive the decryption key material and then forge a ciphertext that passes the integrity check. Impact The direct impact of this vulnerability is ciphertext forgery, not confidentiality loss. - The attacker does not need the master public key, the user's private key, or any other secret material. - The attacker only needs to know the target UID to…
Recommended action: Upgrade to 0.41.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.