CVE Explorer
CVE-2026-23966
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"sm-crypto","vendor":"JuneAndGreen","versions":[{"status":"affected","version":"< 0.3.14"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6a3e2fe956ce4bfcff15a19d6a9a94e3e7e721a05d4bf59d3ed1413ccb727ea3 · sha256:4972eaad6c347d07… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6a3e2fe956ce4bfcff15a19d6a9a94e3e7e721a05d4bf59d3ed1413ccb727ea3 · sha256:4972eaad6c347d07… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-345","description":"CWE-345: Insufficient Verification of Data Authenticity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6a3e2fe956ce4bfcff15a19d6a9a94e3e7e721a05d4bf59d3ed1413ccb727ea3 · sha256:4972eaad6c347d07… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/JuneAndGreen/sm-crypto/commit/b1c824e58fdf1eaa73692c124a095819a8c45707","tags":["x_refsource_MISC"],"url":"https://github.com/JuneAndGreen/sm-crypto/commit/b1c824e58fdf1eaa73692c124a095819a8c45707"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6a3e2fe956ce4bfcff15a19d6a9a94e3e7e721a05d4bf59d3ed1413ccb727ea3 · sha256:4972eaad6c347d07… · /containers/cna/references/1
{"name":"https://github.com/JuneAndGreen/sm-crypto/security/advisories/GHSA-pgx9-497m-6c4v","tags":["x_refsource_CONFIRM"],"url":"https://github.com/JuneAndGreen/sm-crypto/security/advisories/GHSA-pgx9-497m-6c4v"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6a3e2fe956ce4bfcff15a19d6a9a94e3e7e721a05d4bf59d3ed1413ccb727ea3 · sha256:4972eaad6c347d07… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.