{"apiVersion":"1.0","identifier":"CVE-2026-73567","description":"sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. Prior to 0.5.0, the default no-argument sm2.generateKeyPairHex() path in Node.js uses the module-wide SecureRandom instance in src/sm2/utils.js, supplied by jsbn@1.1.0, which seeds an ARC4 stream from Math.random() and new Date().getTime() because window.crypto.getRandomValues is unavailable even though globalThis.crypto exists. An attacker who can observe the process-s Math.random() outputs and estimate the key-generation time can reconstruct the seed, recover generated SM2 private keys, and predict signing ephemeral scalars used to forge signatures. This issue is fixed in version 0.5.0.","publishedAt":"2026-08-13T18:18:19","lastModifiedAt":"2026-08-14T19:18:00","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-73567","cvssScore":9.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","epssProbability":0.00321,"riskScore":0.94,"affectedProduct":"sm-crypto","affectedVersions":"<0.5.0","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-73567","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-73567","en":"https://www.redsauce.net/en/cves/CVE-2026-73567","fr":"https://www.redsauce.net/fr/cves/CVE-2026-73567","pt":"https://www.redsauce.net/pt/cves/CVE-2026-73567","de":"https://www.redsauce.net/de/cves/CVE-2026-73567","sk":"https://www.redsauce.net/sk/cves/CVE-2026-73567","el":"https://www.redsauce.net/el/cves/CVE-2026-73567"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-73567"}}