CVE-2026-54875
CVE-2026-54875 · Non-Constant-Time SM2 Scalar Multiplication on ARM64 and RISC-V
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Issue summary: A non-constant-time optimized implementation of scalar point multiplication is used for SM2 private key operations on ARM64 and RISC-V platforms. Impact summary: An attacker able to measure the time taken by, or to observe the cache-line access pattern of SM2 signing or decryption on an affected platform can learn information about the secret scalar. CWE: CWE-208: Observable Timing Discrepancy Description: On ARM64 and RISC-V processors, the SM2 curve uses an optimized scalar multiplication implementation whose conditional branches and table look ups are chosen according to the bits of the secret scalar. The execution time and the cache-access pattern therefore depend on the long-term private key (during SM2 decryption) or the per-signature nonce (during SM2 signature generation), forming a timing and cache side-channel. FIPS Impact: no SM2 is not a FIPS algorithm and the optimized SM2 implementation is not part of the FIPS module. OpenSSL 4.0, 3.6, 3.5 and 3.4 are vulnerable to this issue on AArch64 and RISC-V. OpenSSL 3.0, 1.1.1 and 1.0.2 are not affected by this issue. OpenSSL 4.0 users should upgrade to OpenSSL 4.0.3. OpenSSL 3.6 users should upgrade to OpenSSL 3.6.5. OpenSSL 3.5 users should upgrade to OpenSSL 3.5.9. OpenSSL 3.4 users should upgrade to OpenSSL 3.4.8. This issue was reported on 2 May 2026 by Abhinav Agarwal. It was independently reported on 6 June 2026 by Feng Xue. The fix was developed by Igor Ustinov. -- cut (non-publishing metadata for internal use) -- Reported by: Abhinav Agarwal, Feng Xue Fixed by: Igor Ustinov
CVSS 3.7 · Low · EPSS 0.3% · Fix available
- Published
- Updated
Affected products and versions
openssl
- Versions
- ≥ 4.0.0, < 4.0.3: Affected (semver)
- ≥ 3.6.0, < 3.6.5: Affected (semver)
- ≥ 3.5.0, < 3.5.9: Affected (semver)
- ≥ 3.4.0, < 3.4.8: Affected (semver)
Update to 3.4.8; Update to 3.5.9; Update to 3.6.5; Update to 4.0.3
openssl Debian:13
- Versions
- 3.5.1-1
- 3.5.1-1+deb13u1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1
- 3.5.4-1~deb13u1
- 3.5.4-1~deb13u2
- 3.5.5-1
- 3.5.5-1~deb13u1
- 3.5.5-1~deb13u2
- 3.5.6-1~deb13u1
- 3.5.6-1~deb13u2
- 3.5.7-1~deb13u1
- 3.5.7-1~deb13u2
- Affected ranges
- ECOSYSTEM: < 3.5.7-1~deb13u3
Update to 3.5.7-1~deb13u3
openssl Debian:14
- Versions
- 3.5.1-1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1
- 3.5.4-1~deb13u1
- 3.5.4-1~deb13u2
- 3.5.5-1
- 3.5.5-1~deb13u1
- 3.5.5-1~deb13u2
- 3.5.6-1~deb13u1
- 3.5.6-1~deb13u2
- 3.5.7-1~deb13u1
- 3.5.7-1~deb13u2
- 3.5.7-1~deb13u3
- 3.6.0-1
- 3.6.0-2
- 3.6.0~~alpha1-1
- 3.6.0~~beta1-1
- 3.6.1-1
- 3.6.1-2
- 3.6.1-3
- 3.6.2-1
- 3.6.3-1
- 3.6.4-1
- Affected ranges
- ECOSYSTEM: < 3.6.5-1
Update to 3.6.5-1
nodejs Ubuntu:Pro:22.04:LTS
- Versions
- 12.22.5~dfsg-5ubuntu1
- 12.22.7~dfsg-2ubuntu1
- 12.22.7~dfsg-2ubuntu3
- 12.22.9~dfsg-1ubuntu2
- 12.22.9~dfsg-1ubuntu3
- 12.22.9~dfsg-1ubuntu3.1
- 12.22.9~dfsg-1ubuntu3.2
- 12.22.9~dfsg-1ubuntu3.3
- 12.22.9~dfsg-1ubuntu3.4
- 12.22.9~dfsg-1ubuntu3.5
- 12.22.9~dfsg-1ubuntu3.6
- 12.22.9~dfsg-1ubuntu3.6+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu:26.10
- Versions
- 2025.11-3ubuntu7
- 2025.11-3ubuntu8
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2-hwe Ubuntu:26.10
- Versions
- 2025.11-3ubuntu8
- 2025.11-3ubuntu9
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu:26.04:LTS
- Versions
- 2025.02-8ubuntu3
- 2025.11-3ubuntu6
- 2025.11-3ubuntu7
- 2025.11-3ubuntu7.2
- 2025.11-3ubuntu7.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2-hwe Ubuntu:26.04:LTS
- Versions
- 2025.11-3ubuntu6
- 2025.11-3ubuntu8
- 2025.11-3ubuntu8.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:26.04:LTS
- Versions
- 3.5.3-1ubuntu2
- 3.5.5-1ubuntu1
- 3.5.5-1ubuntu3
- 3.5.5-1ubuntu3.2
- 3.5.5-1ubuntu3.3
- 3.5.5-1ubuntu3.4
- 3.5.5-1ubuntu3.5
- Affected ranges
- ECOSYSTEM: < 3.5.5-1ubuntu3.6
Update to 3.5.5-1ubuntu3.6
Original sources
- https://openssl-library.org/news/secadv/20260929.txt
- https://github.com/openssl/openssl/commit/9794ed473764839275cb701b4850f3c24d929c28
- https://github.com/openssl/openssl/commit/dddad955d5ff3e9507619cf4e0f13e9988e2197c
- https://github.com/openssl/openssl/commit/469f3e42629f4a0b5631796e20c66c92c138a3e8
- https://github.com/openssl/openssl/commit/3f01bbc28f7e08211fcdc797fd43816504f94257
- https://nvd.nist.gov/vuln/detail/CVE-2026-54875