Go ShangMi SM9 Infinity-Point Ciphertext Forgery Vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-347.
Summary
Go ShangMi (Commercial Cryptography) Library (GMSM) is a cryptographic library that covers the Chinese commercial cryptographic public algorithms SM2/SM3/SM4/SM9/ZUC. Prior to 0.41.1, 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. This vulnerability is fixed in 0.41.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| emmansun | gmsm | before 0.41.1 | 0.41.1 | Patch available | CNA |
| — | github.com/emmansun/gmsm (Go) | before 0.41.1 | 0.41.1 | Patch available | GHSA-5xxp-2vrj-x855 |
- gmsm Vendoremmansun Affected before 0.41.1 Fixed in 0.41.1 Patch available CNA
- github.com/emmansun/gmsm (Go) Vendor— Affected before 0.41.1 Fixed in 0.41.1 Patch available GHSA-5xxp-2vrj-x855
Remediation
- Fix · CNA gmsm (emmansun) Fixed in 0.41.1
- Fix · GHSA-5xxp-2vrj-x855 github.com/emmansun/gmsm (Go) Fixed in 0.41.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32614
- 2026-10-03 Alias added: GHSA-5xxp-2vrj-x855
References
Sources
- CVE-2026-32614 · CVE Program
- CVE-2026-32614 · NVD
- FIRST EPSS
- GHSA-5xxp-2vrj-x855 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences