OpenSSL: Timing Side-Channel in SM2 Signature Generation
What fixes it
- 4.0.3OpenSSLCVE List
- 3.6.5OpenSSLCVE List
- 3.5.9OpenSSLCVE List
- 3.4.8OpenSSLCVE List
- 3.0.23OpenSSLCVE List
- 1.1.1zjOpenSSLCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from CVE List
Affected versions 6
- OpenSSLaffected: 4.0.0 before 4.0.3CVE List
- OpenSSLaffected: 3.6.0 before 3.6.5CVE List
- OpenSSLaffected: 3.5.0 before 3.5.9CVE List
- OpenSSLaffected: 3.4.0 before 3.4.8CVE List
- OpenSSLaffected: 3.0.0 before 3.0.23CVE List
- OpenSSLaffected: 1.1.1 before 1.1.1zjCVE List
References 5
- github.com/openssl/openssl/commit/20b20628d39b2dcc4677194bd68c7c060fa598cbFixvia CVE List
- github.com/openssl/openssl/commit/1c4aed808a7aea32d2d013049c2e0d9fef164fc9Fixvia CVE List
- github.com/openssl/openssl/commit/6b90445a56b99a328ac1feba058abf976504f440Fixvia CVE List
- github.com/openssl/openssl/commit/419f5cb519721dceed393dbc524d79e487c72e64Fixvia CVE List
- openssl-library.org/news/secadv/20260929.txtAdvisoryvia CVE List