CVE-2026-32614 Go ShangMi SM9 Infinity-Point Ciphertext Forgery Vulnerability

High 7.5 Published Updated

Attackers can forge valid SM9 ciphertexts and derive decryption keys by exploiting an infinity-point validation flaw in the Go ShangMi library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-32614?

CVE-2026-32614 is a high-severity vulnerability in emmansun gmsm, published on 13 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-347

Which versions are affected by CVE-2026-32614?

3 open source packages ship an affected version, including github.com/emmansun/gmsm.

PackageAffectedFixed in
github.com/emmansun/gmsm GoAll versions0.41.1
github.com/emmansun/gmsm GoAll versions0.41.1
github.com/emmansun/gmsm GoAll versions0.41.1

How do I fix CVE-2026-32614?

Upgrade github.com/emmansun/gmsm to 0.41.1 or later.

Is CVE-2026-32614 being exploited?

There is no known exploitation of CVE-2026-32614 in the wild and no public exploit code.

Sources

Also known as GHSA-5xxp-2vrj-x855, GO-2026-4694.

Is CVE-2026-32614 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free