Home

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.

PUBLISHED Reserved 2025-08-20 | Published 2025-09-30 | Updated 2025-09-30 | Assigner openssl

Problem types

CWE-385 Covert Timing Channel

Product status

Default status
unaffected

3.5.0 before 3.5.4
affected

3.4.0 before 3.4.3
affected

3.3.0 before 3.3.5
affected

3.2.0 before 3.2.6
affected

Credits

Stanislav Fort (Aisle Research) reporter

Stanislav Fort (Aisle Research) remediation developer

Tomas Mraz remediation developer

References

openssl-library.org/news/secadv/20250930.txt (OpenSSL Advisory) vendor-advisory

github.com/...ommit/fc47a2ec078912b3e914fab5734535e76c4820c2 (3.5.4 git commit) patch

github.com/...ommit/eed5adc9f969d77c94f213767acbb41ff923b6f4 (3.4.3 git commit) patch

github.com/...ommit/567f64386e43683888212226824b6a179885a0fe (3.3.5 git commit) patch

github.com/...ommit/cba616c26ac8e7b37de5e77762e505ba5ca51698 (3.2.6 git commit) patch

cve.org (CVE-2025-9231)

nvd.nist.gov (CVE-2025-9231)

Download JSON