CVE-2026-73567
Last modified
CVE-2026-73567 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| JuneAndGreen | sm-crypto | < 0.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-73567?
How severe is CVE-2026-73567?
How do I fix CVE-2026-73567?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-73561Hub is a Node.js WebSocket server and client with added feat…7.5
- CVE-2026-73562Mongoose is a MongoDB object modeling tool designed to work …6.5
- CVE-2026-73563Backstage is an open framework for building developer portal…4.7
- CVE-2026-73564frp is a fast reverse proxy. From 0.53.0 until 0.70.1, frp's…8.7
- CVE-2026-73565@hono/node-server allows running the Hono application on Nod…5.3
- CVE-2026-73566node-tar is a tar archive manipulation library for Node.js. …7.5
- CVE-2026-73568py-libp2p is the Python implementation of the libp2p network…7.5
- CVE-2026-73569fast-xml-parser allows users to process XML from JS object w…8.7
- CVE-2026-7357Use after free in GPU in Google Chrome prior to 147.0.7727.1…7.5
- CVE-2026-73570A remote code execution vulnerability exists in Zimbra Colla…8.9
- CVE-2026-73571An authorization bypass vulnerability exists in Zimbra Colla…3.1
- CVE-2026-73572In Zimbra Collaboration (ZCS) before 10.1.17, a stored cross…6.1
Are you affected by CVE-2026-73567?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
