Description
Issue summary: A timing side-channel which could potentially allow remote recovery of the private key exists in the SM2 algorithm implementation on 64 bit ARM platforms. Impact summary: A timing side-channel in SM2 signature computations on 64 bit ARM platforms could allow recovering the private key by an attacker.. While remote key recovery over a network was not attempted by the reporter, timing measurements revealed a timing signal which may allow such an attack. OpenSSL does not directly support certificates with SM2 keys in TLS, and so this CVE is not relevant in most TLS contexts. However, given that it is possible to add support for such certificates via a custom provider, coupled with the fact that in such a custom provider context the private key may be recoverable via remote timing measurements, we consider this to be a Moderate severity issue. The FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue, as SM2 is not an approved algorithm.
Problem types
Product status
3.5.0 before 3.5.4
3.4.0 before 3.4.3
3.3.0 before 3.3.5
3.2.0 before 3.2.6
Credits
Stanislav Fort (Aisle Research)
Stanislav Fort (Aisle Research)
Tomas Mraz
References
openssl-library.org/news/secadv/20250930.txt (OpenSSL Advisory)
github.com/...ommit/fc47a2ec078912b3e914fab5734535e76c4820c2 (3.5.4 git commit)
github.com/...ommit/eed5adc9f969d77c94f213767acbb41ff923b6f4 (3.4.3 git commit)
github.com/...ommit/567f64386e43683888212226824b6a179885a0fe (3.3.5 git commit)
github.com/...ommit/cba616c26ac8e7b37de5e77762e505ba5ca51698 (3.2.6 git commit)