All reports
Critical

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

Affected versions

Affected versions
< 0.3.14
Fixed version
0.3.14

Exploitation

CVE-2026-23966

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-21

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

Links

Credits

  • XlabAITeam
  • A7um
  • tl2cents
  • keenanwgn