{"id":"GHSA-pgx9-497m-6c4v","summary":"sm-crypto Affected by Private Key Recovery in SM2-PKE","details":"### Summary\n\nA 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.\n\n\n### Credit\n\nThis vulnerability was discovered by:\n- XlabAI Team of Tencent Xuanwu Lab\n- Atuin Automated Vulnerability Discovery Engine","aliases":["CVE-2026-23966"],"modified":"2026-02-03T03:10:10.664749Z","published":"2026-01-21T16:13:25Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-01-21T16:13:25Z","nvd_published_at":"2026-01-22T03:15:47Z","cwe_ids":["CWE-345"]},"references":[{"type":"WEB","url":"https://github.com/JuneAndGreen/sm-crypto/security/advisories/GHSA-pgx9-497m-6c4v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23966"},{"type":"WEB","url":"https://github.com/JuneAndGreen/sm-crypto/commit/b1c824e58fdf1eaa73692c124a095819a8c45707"},{"type":"PACKAGE","url":"https://github.com/JuneAndGreen/sm-crypto"}],"affected":[{"package":{"name":"sm-crypto","ecosystem":"npm","purl":"pkg:npm/sm-crypto"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.14"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-pgx9-497m-6c4v/GHSA-pgx9-497m-6c4v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}