Quick answers
- Is CVE-2026-73567 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-73567 being exploited in the wild.
- How severe is CVE-2026-73567?
- Critical severity, with a CVSS score of 9.1, published 13 August 2026.
- Which products and versions are affected?
- sm-crypto (npm) SEMVER:introduced=0,fixed=0.5.0.
- Is there a fix for CVE-2026-73567?
- Yes. sm-crypto (npm): upgrade to 0.5.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-73567 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-73567?
- Check whether you run sm-crypto (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- sm-crypto (npm): upgrade to 0.5.0 or later
npm install sm-crypto@0.5.0
Technical details
The vulnerability is a weak RNG (random number generator) issue in sm-crypto's default key generation path. The library uses jsbn's SecureRandom class, which attempts to seed from window.crypto.getRandomValues in browser environments. However, in Node.js, the `window` object is undefined, causing the CSPRNG branch to be skipped and the seed pool to be filled from V8's Math.random (xorshift128+, recoverable from outputs) plus new Date().getTime() (wall clock, attacker-estimable). Although Node.js exposes Web Crypto via globalThis.crypto, jsbn checks only window.crypto, so the secure path is never taken. The vulnerability affects the default no-argument call to sm2.generateKeyPairHex() and signing ephemeral scalars; no user configuration is required to trigger it. A proof-of-concept demonstrates that identical private keys are generated when Math.random and Date are pinned to fixed values across multiple process invocations. The issue is present in all versions up to 0.4.0; version 0.5.3 or later contains a patch.
Affected products
- JuneAndGreen sm-crypto <0.5.3
Identifiers
- CVE-2026-73567
- GHSA-vh45-f885-3848
Timeline
- 2026-07-24: disclosed
- 2026-07-23: patched: Patched version 0.5.3 released