CVE-2026-77696 PUBLISHED

Timing Side-Channel in SM2 Signature Generation

Assigner: openssl
Reserved: 21.08.2026 Published: 29.09.2026 Updated: 29.09.2026

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.

Product Status

Vendor OpenSSL
Product OpenSSL
Versions Default: unaffected
  • affected from 4.0.0 to 4.0.3 (excl.)
  • affected from 3.6.0 to 3.6.5 (excl.)
  • affected from 3.5.0 to 3.5.9 (excl.)
  • affected from 3.4.0 to 3.4.8 (excl.)
  • affected from 3.0.0 to 3.0.23 (excl.)
  • affected from 1.1.1 to 1.1.1zj (excl.)

Credits

  • Vladimir Tokarev reporter
  • Igor Ustinov remediation developer
  • Viktor Dukhovni remediation developer

References

Problem Types

  • CWE-208 Observable Timing Discrepancy CWE