Skip to content

CVE-2025-9231 Timing side-channel in SM2 algorithm on 64 bit ARM

MediumCVSS 5.9 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
azure linux rust(Azure Linux:3.0) All versions No fix listed
debian/openssl(Debian:13) < 3.5.1-1+deb13u1 3.5.1-1+deb13u1
debian/openssl(Debian:13) = 3.5.1-1 No fix listed
debian/openssl(Debian:14) < 3.5.4-1 3.5.4-1
debian/openssl(Debian:14) = 3.5.1-1 No fix listed
debian/openssl(Debian:14) = 3.5.2-1 No fix listed
debian/openssl(Debian:14) = 3.5.3-1 No fix listed
debian/openssl(Debian:14) = 3.5.4-1~deb13u1 No fix listed
debian/openssl(Debian:14) = 3.5.4-1~deb13u2 No fix listed
OpenSSL >= 3.5.0, < 3.5.4 3.5.4
OpenSSL >= 3.4.0, < 3.4.3 3.4.3
OpenSSL >= 3.3.0, < 3.3.5 3.3.5
OpenSSL >= 3.2.0, < 3.2.6 3.2.6
Siemens RUGGEDCOM RST2428P < V3.3 V3.3
Siemens RUGGEDCOM RST2428P < V4.0 V4.0
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < V3.3 V3.3
Siemens SCALANCE XCH328 < V3.3 V3.3
Siemens SCALANCE XCM324 < V3.3 V3.3
Siemens SCALANCE XCM328 < V3.3 V3.3
Siemens SCALANCE XCM332 < V3.3 V3.3
Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) < V3.3 V3.3
Siemens SCALANCE XRM334 (230 V AC, 12xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (230 V AC, 8xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) < V3.3 V3.3
Siemens SCALANCE XRM334 (24 V DC, 12xFO) < V3.3 V3.3
Show 21 more
ProductAffected versionsFixed in
Siemens SCALANCE XRM334 (24 V DC, 8xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) < V3.3 V3.3
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) < V3.3 V3.3
Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) < V3.3 V3.3
Siemens SIDIS Secured SmartPlug < V7.26.0310 V7.26.0310
Siemens SIMATIC CN 4100 < V5.0 V5.0
ubuntu/nodejs(Ubuntu:22.04) All versions No fix listed
ubuntu/openssl(Ubuntu:26.04) < 3.5.3-1ubuntu2 3.5.3-1ubuntu2
Siemens ruggedcom rst2428p firmware < 4.0 4.0
OpenSSL >= 1.0.2, < 1.0.2zm 1.0.2zm
OpenSSL >= 1.1.1, < 1.1.1zd 1.1.1zd
OpenSSL >= 3.0.0, < 3.0.18 3.0.18
Siemens sidis secured smartplug firmware < 7.26.0310 7.26.0310
Siemens sinec os < 3.3 3.3
Siemens simatic cn 4100 firmware < 5.0 5.0
alpine/openssl(Alpine:v3.20) >= 3.3.0, < 3.3.5-r0 3.3.5-r0
alpine/openssl(Alpine:v3.21) >= 3.3.0, < 3.3.5-r0 3.3.5-r0
alpine/openssl(Alpine:v3.22) >= 3.5.0, < 3.5.4-r0 3.5.4-r0
alpine/openssl(Alpine:v3.23) >= 3.5.0, < 3.5.4-r0 3.5.4-r0
alpine/openssl(Alpine:v3.24) >= 3.5.0, < 3.5.4-r0 3.5.4-r0

References