Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/emmansun/gmsm
  4. ›
  5. CVE-2026-32614

CVE-2026-32614: SM9 Infinity-Point Ciphertext Forgery Vulnerability

March 13, 2026 (updated March 16, 2026)

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 construct a seemingly valid ciphertext.
  • When the recipient invokes the SM9 decryption API, the forged ciphertext decrypts successfully to attacker-chosen plaintext.
  • The C3 integrity check also passes, so this is not merely a format bypass, but a full forgery.

This issue affects the following paths because they all eventually enter the same UnwrapKey logic:

  • sm9.Decrypt
  • sm9.DecryptASN1
  • sm9.UnwrapKey

This means the issue affects not only public-key encryption/decryption, but also key encapsulation/decapsulation.

References

  • github.com/advisories/GHSA-5xxp-2vrj-x855
  • github.com/emmansun/gmsm
  • github.com/emmansun/gmsm/releases/tag/v0.41.1
  • github.com/emmansun/gmsm/security/advisories/GHSA-5xxp-2vrj-x855
  • nvd.nist.gov/vuln/detail/CVE-2026-32614
  • pkg.go.dev/vuln/GO-2026-4694

Code Behaviors & Features

Detect and mitigate CVE-2026-32614 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.41.1

Fixed versions

  • 0.41.1

Solution

Upgrade to version 0.41.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-347: Improper Verification of Cryptographic Signature

Source file

go/github.com/emmansun/gmsm/CVE-2026-32614.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:22 +0000.