GHSA-pgx9-497m-6c4v

Suggest an improvement
Source
https://github.com/advisories/GHSA-pgx9-497m-6c4v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-pgx9-497m-6c4v/GHSA-pgx9-497m-6c4v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pgx9-497m-6c4v
Aliases
Published
2026-01-21T16:13:25Z
Modified
2026-02-03T03:10:10.664749Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
sm-crypto Affected by Private Key Recovery in SM2-PKE
Details

Summary

A private key recovery vulnerability exists in the SM2 decryption logic of sm-crypto. By interacting with the SM2 decryption interface multiple times, an attacker can fully recover the private key within approximately several hundred interactions.

Credit

This vulnerability was discovered by: - XlabAI Team of Tencent Xuanwu Lab - Atuin Automated Vulnerability Discovery Engine

Database specific
{
    "nvd_published_at": "2026-01-22T03:15:47Z",
    "cwe_ids": [
        "CWE-345"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2026-01-21T16:13:25Z"
}
References

Affected packages

npm / sm-crypto

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.14

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-pgx9-497m-6c4v/GHSA-pgx9-497m-6c4v.json"