SCA: security update for github.com/emmansun/gmsm (GHSA-5xxp-2vrj-x855)

critical Tenable Cloud Security Plugin ID 438759

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-32614)

Solution

Update the github.com/emmansun/gmsm library and its related packages to version 0.41.1 or later.

See Also

https://github.com/advisories/GHSA-5xxp-2vrj-x855

Plugin Details

Severity: Critical

ID: 438759

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 3/13/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2026-32614

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.2

Threat Score: 7.8

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:L/SI:H/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/13/2026

Vulnerability Publication Date: 3/13/2026

Reference Information

CVE: CVE-2026-32614