GHSA-pgx9-497m-6c4vCriticalCVSS 9.1

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

Published
January 21, 2026
Last Modified
January 22, 2026

🔗 CVE IDs covered (1)

📋 Description

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

🎯 Affected products1

  • npm/sm-crypto:< 0.3.14

🔗 References (4)