CVE-2025-9231
Medium · 6.5CVSS
6.5
EPSS
2.2%
Published
Sep 30, 2025
CISA due date
—
Cloudanix analysis
A math timing flaw on certain computer chips could let attackers figure out secret keys used for digital signatures in specialized setups.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Theoretical
- Impact
- Data Exposure
- Component
- Library
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A timing side-channel in SM2 signature computations on 64-bit ARM platforms that may allow remote recovery of the private key through analysis of execution timing variations.
Why it matters to the business
Potential exposure of cryptographic private keys in custom SM2 implementations could undermine data confidentiality and authentication mechanisms, though impact is limited outside specialized use cases.
How an attack unfolds
An attacker with network access to a system using a custom OpenSSL provider for SM2 on 64-bit ARM performs repeated signature operations while measuring timing differences to recover private key material bit by bit.
How to fix it
Upgrade OpenSSL to a build containing commit 567f64386e43683888212226824b6a179885a0fe; avoid custom SM2 providers on affected platforms; FIPS modules remain unaffected.
How to confirm the fix worked
Confirm the installed OpenSSL binary or library was built from a source tree including the referenced fix commit; perform timing analysis tests to verify elimination of the side-channel signal.
Typical attack path
- Locate systems exposing SM2 operations via custom provider on 64-bit ARM
- Trigger signature computations and collect high-resolution timing measurements
- Apply statistical analysis to timing data to reconstruct the private key
How to detect it
Post-exploitation detection is challenging due to the nature of timing side-channels; monitor for anomalous volumes of signature requests from untrusted sources and review application logs for unexpected SM2 usage patterns.
What your security team should do
- Apply the patch commit 567f64386e43683888212226824b6a179885a0fe across all OpenSSL deployments
- Disable or remove custom SM2 key support unless strictly required
- Review cryptographic provider configurations for unnecessary SM2 usage on ARM64
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Chainguard | libcrypto3 | 0 | 3.5.4-r0 |
| Chainguard | libssl3 | 0 | 3.5.4-r0 |
| Chainguard | openssl | 0 | 3.5.4-r0 |
| Chainguard | openssl-config | 0 | 3.5.4-r0 |
| Chainguard | openssl-dbg | 0 | 3.5.4-r0 |
| Chainguard | openssl-dev | 0 | 3.5.4-r0 |
| Chainguard | openssl-doc | 0 | 3.5.4-r0 |
| Chainguard | openssl-engine-afalg | 0 | 3.5.4-r0 |
| Chainguard | openssl-engine-capi | 0 | 3.5.4-r0 |
| Chainguard | openssl-engine-loader-attic | 0 | 3.5.4-r0 |
| Chainguard | openssl-engine-padlock | 0 | 3.5.4-r0 |
| Chainguard | openssl-provider-fips-3.1.2 | 0 | 0 |
| Chainguard | openssl-provider-fips-3.1.2-dbg | 0 | 0 |
| Chainguard | openssl-provider-fips-3.4.0 | 0 | 0 |
| Chainguard | openssl-provider-fips-3.4.0-dbg | 0 | 0 |
| Chainguard | openssl-provider-legacy | 0 | 3.5.4-r0 |
| Wolfi | libcrypto3 | 0 | 3.5.4-r0 |
| Wolfi | libssl3 | 0 | 3.5.4-r0 |
| Wolfi | openssl | 0 | 3.5.4-r0 |
| Wolfi | openssl-config | 0 | 3.5.4-r0 |
| Wolfi | openssl-dbg | 0 | 3.5.4-r0 |
| Wolfi | openssl-dev | 0 | 3.5.4-r0 |
| Wolfi | openssl-doc | 0 | 3.5.4-r0 |
| Wolfi | openssl-engine-afalg | 0 | 3.5.4-r0 |
| Wolfi | openssl-engine-capi | 0 | 3.5.4-r0 |
| Wolfi | openssl-engine-loader-attic | 0 | 3.5.4-r0 |
| Wolfi | openssl-engine-padlock | 0 | 3.5.4-r0 |
| Wolfi | openssl-provider-legacy | 0 | 3.5.4-r0 |
| openSUSE:Leap 16.0 | openssl-3 | 0 | 3.5.0-160000.4.1 |
| openSUSE:Tumbleweed | openssl-3 | 0 | 3.5.3-2.1 |
| openSUSE:Tumbleweed | regclient | 0 | 0.10.0-1.1 |
Related vulnerabilities
- CVE-2026-2673 Issue summary: An OpenSSL TLS 1.3 server may fail to negotiate the expected preferred key… Also affects libcrypto3
- CVE-2025-9230 Issue summary: An application trying to decrypt CMS messages encrypted using password… Also affects libcrypto3
- CVE-2025-9232 Issue summary: An application using the OpenSSL HTTP client API functions may trigger an… Also affects libcrypto3
- CVE-2025-4575 Issue summary: Use of -addreject option with the openssl x509 application adds a trusted… Also affects libcrypto3
- CVE-2024-13176 Issue summary: A timing side-channel which could potentially allow recovering the private… Also affects libcrypto3
- CVE-2024-9143 Issue summary: Use of the low-level GF(2^m) elliptic curve APIs with untrusted explicit… Also affects libcrypto3
- CVE-2024-6119 Issue summary: Applications performing certificate name checks (e.g., TLS clients… Also affects libcrypto3
- CVE-2024-5535 Issue summary: Calling the OpenSSL API function SSL_select_next_proto with an empty… Also affects libcrypto3