# CVE-2026-54875: Non-Constant-Time SM2 Scalar Multiplication on ARM64 and RISC-V

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.7
- **CVSS:** 3.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.49% (percentile 35, 2026-11-26)
- **CWE:** CWE-208
- **Published:** 2026-09-29T15:32:17.206Z
- **Modified:** 2026-10-08T01:19:29.883Z

## Who should check

- Anyone running OpenSSL \>= 4.0.0, \< 4.0.3; \>= 3.6.0, \< 3.6.5; \>= 3.5.0, \< 3.5.9; \>= 3.4.0, \< 3.4.8

## Description

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

## Affected and fixed versions

- OpenSSL: \>= 4.0.0, \< 4.0.3; \>= 3.6.0, \< 3.6.5; \>= 3.5.0, \< 3.5.9; \>= 3.4.0, \< 3.4.8 (cvelist)

## Mitigation

- Upgrade OpenSSL to 3.4.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54875. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54875.md
Affected: OpenSSL >= 4.0.0, < 4.0.3; >= 3.6.0, < 3.6.5; >= 3.5.0, < 3.5.9; >= 3.4.0, < 3.4.8
Fixed in: OpenSSL 4.0.3, OpenSSL 3.6.5, OpenSSL 3.5.9, OpenSSL 3.4.8

Steps:
1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54875 being exploited?

There is no confirmed exploitation: CVE-2026-54875 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54875?

Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-54875?

OpenSSL \>= 4.0.0, \< 4.0.3; \>= 3.6.0, \< 3.6.5; \>= 3.5.0, \< 3.5.9; \>= 3.4.0, \< 3.4.8.

### Is there a fix for CVE-2026-54875?

Yes. Fixed in OpenSSL 4.0.3, OpenSSL 3.6.5, OpenSSL 3.5.9, OpenSSL 3.4.8. Upgrade OpenSSL to 3.4.8 or later.

### How do I check if I'm affected by CVE-2026-54875?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://openssl-library.org/news/secadv/20260929.txt>
- patch: <https://github.com/openssl/openssl/commit/9794ed473764839275cb701b4850f3c24d929c28>
- patch: <https://github.com/openssl/openssl/commit/dddad955d5ff3e9507619cf4e0f13e9988e2197c>
- patch: <https://github.com/openssl/openssl/commit/469f3e42629f4a0b5631796e20c66c92c138a3e8>
- patch: <https://github.com/openssl/openssl/commit/3f01bbc28f7e08211fcdc797fd43816504f94257>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54875>

HTML: <https://flawdb.com/CVE-2026-54875> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54875>
