JLSEC-2026-1778: Issue summary: SM2 signature generation uses non-constant-time arithmetic on secret values,...
Issue summary: SM2 signature generation uses non-constant-time arithmetic on secret values, forming a timing side-channel.
Impact summary: An attacker able to measure SM2 signing times may learn information about the per-signature secret nonce, which over many signatures can, via a lattice / Hidden Number Problem attack, lead to recovery of the private key.
CWE: CWE-208: Observable Timing Discrepancy
Description: SM2 signature generation computes the signature value using variable-time BIGNUM operations on the secret nonce and the private key, so the time taken to produce an SM2 signature depends on these secret values, forming a timing side-channel.
Applications performing SM2 signature generation are affected on all platforms.
FIPS Impact: no SM2 is not a FIPS algorithm.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/AppBundlerto a version that resolves this vulnerability.Fixed in 1.0.1 - Upgrade
Upgrade
julia/OpenSSL_jllto a version that resolves this vulnerability.Fixed in 3.5.9+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are exposed to this timing side channel?
Applications that perform SM2 signature generation are affected on all platforms. The listed software includes julia/appbundler, julia/openssl_jll, and julia/openresty_jll.
What must an attacker be able to do to recover a private key?
The attacker must be able to measure SM2 signing times. Information leaked about per-signature secret nonces across many signatures can be used in a lattice or Hidden Number Problem attack to recover the private key.
Does this affect FIPS use cases?
No. SM2 is not a FIPS algorithm, so there is no stated FIPS impact.