Paper/Archive/CVE-2026-23966

CVE-2026-23966

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

Description · from the CVE record

sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. A private key recovery vulnerability exists in the SM2 decryption logic of sm-crypto prior to version 0.3.14. By interacting with the SM2 decryption interface multiple times, an attacker can fully recover the private key within approximately several hundred interactions. Version 0.3.14 patches the issue.

Affected

ProductAffectedFixed inSource
sm-crypto< 0.3.14–CNA

Scores by source

GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/JuneAndGreen/sm-crypto/security/advisories/GHSA-pgx9-497m-6c4vrefgithub.com/JuneAndGreen/sm-crypto/commit/b1c824e58fdf1eaa73692c124a095819a8c45707