~ / search / GHSA-pgx9-497m-6c4v

GHSA-pgx9-497m-6c4v

sm-crypto Affected by Private Key Recovery in SM2-PKE

Source: GitHub Advisory Database (reviewed) Critical CVE-2026-23966

Packages

EcosystemPackageAffectedFixed in
npm sm-crypto < 0.3.14 0.3.14

Details

As written in the advisory (Markdown source, shown as plain text).

### 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

References

External links from the advisory. They lead to third-party sites.