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

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

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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:** 1.48% (percentile 74, 2026-11-26)
- **CWE:** CWE-385
- **Published:** 2025-09-30T13:17:12.007Z
- **Modified:** 2026-11-09T20:51:27.060Z

## Who should check

- Anyone running OpenSSL \>= 3.5.0, \< 3.5.4; \>= 3.4.0, \< 3.4.3; \>= 3.3.0, \< 3.3.5; \>= 3.2.0, \< 3.2.6

## 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 and fixed versions

- OpenSSL: \>= 3.5.0, \< 3.5.4; \>= 3.4.0, \< 3.4.3; \>= 3.3.0, \< 3.3.5; \>= 3.2.0, \< 3.2.6 (cvelist)

## Mitigation

- Upgrade OpenSSL to 3.2.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-9231.md
Affected: OpenSSL >= 3.5.0, < 3.5.4; >= 3.4.0, < 3.4.3; >= 3.3.0, < 3.3.5; >= 3.2.0, < 3.2.6
Fixed in: OpenSSL 3.5.4, OpenSSL 3.4.3, OpenSSL 3.3.5, OpenSSL 3.2.6

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-2025-9231 being exploited?

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

### How serious is CVE-2025-9231?

Medium: CVSS 5.9 (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-2025-9231?

OpenSSL \>= 3.5.0, \< 3.5.4; \>= 3.4.0, \< 3.4.3; \>= 3.3.0, \< 3.3.5; \>= 3.2.0, \< 3.2.6.

### Is there a fix for CVE-2025-9231?

Yes. Fixed in OpenSSL 3.5.4, OpenSSL 3.4.3, OpenSSL 3.3.5, OpenSSL 3.2.6. Upgrade OpenSSL to 3.2.6 or later.

### How do I check if I'm affected by CVE-2025-9231?

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/20250930.txt>
- patch: <https://github.com/openssl/openssl/commit/fc47a2ec078912b3e914fab5734535e76c4820c2>
- patch: <https://github.com/openssl/openssl/commit/eed5adc9f969d77c94f213767acbb41ff923b6f4>
- patch: <https://github.com/openssl/openssl/commit/567f64386e43683888212226824b6a179885a0fe>
- patch: <https://github.com/openssl/openssl/commit/cba616c26ac8e7b37de5e77762e505ba5ca51698>
- other: <http://www.openwall.com/lists/oss-security/2025/09/30/5>
- other: <http://www.openwall.com/lists/oss-security/2026/05/11/11>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-585531.html>

## 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-2025-9231>

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