sm-crypto
Affected
- introduced
0, fixed0.3.14(semver)
Fixed versions
0.3.14
Fix
- Fixed version
0.3.14npm install [email protected]
Advisory
Also known as: CVE-2026-23966
sm-crypto Affected by Private Key Recovery in SM2-PKE
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:
Critical Basis: The source's own band: CRITICAL
0, fixed 0.3.14 (semver)0.3.14
0.3.14npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0