{"id":"CVE-2025-9231","details":"Issue summary: A timing side-channel which could potentially allow remote\nrecovery of the private key exists in the SM2 algorithm implementation on 64 bit\nARM platforms.\n\nImpact summary: A timing side-channel in SM2 signature computations on 64 bit\nARM platforms could allow recovering the private key by an attacker..\n\nWhile remote key recovery over a network was not attempted by the reporter,\ntiming measurements revealed a timing signal which may allow such an attack.\n\nOpenSSL does not directly support certificates with SM2 keys in TLS, and so\nthis CVE is not relevant in most TLS contexts.  However, given that it is\npossible to add support for such certificates via a custom provider, coupled\nwith the fact that in such a custom provider context the private key may be\nrecoverable via remote timing measurements, we consider this to be a Moderate\nseverity issue.\n\nThe FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this\nissue, as SM2 is not an approved algorithm.","modified":"2026-04-12T22:06:21.109259Z","published":"2025-09-30T14:15:41.190Z","related":["CGA-g724-hp8h-w4q3","SUSE-SU-2025:21213-1","SUSE-SU-2025:21224-1","openSUSE-SU-2025:15723-1","openSUSE-SU-2025:20164-1","openSUSE-SU-2026:10237-1"],"references":[{"type":"WEB","url":"https://openssl-library.org/news/secadv/20250930.txt"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/09/30/5"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/567f64386e43683888212226824b6a179885a0fe"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/cba616c26ac8e7b37de5e77762e505ba5ca51698"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/eed5adc9f969d77c94f213767acbb41ff923b6f4"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/fc47a2ec078912b3e914fab5734535e76c4820c2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"0"},{"fixed":"567f64386e43683888212226824b6a179885a0fe"}]},{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"0"},{"fixed":"cba616c26ac8e7b37de5e77762e505ba5ca51698"}]},{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"0"},{"fixed":"eed5adc9f969d77c94f213767acbb41ff923b6f4"}]},{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"0"},{"fixed":"fc47a2ec078912b3e914fab5734535e76c4820c2"}]}],"versions":["BEFORE_engine","OpenSSL_0_9_1c","OpenSSL_0_9_2b","OpenSSL_0_9_3","OpenSSL_0_9_3a","OpenSSL_0_9_3beta2","OpenSSL_0_9_4","OpenSSL_0_9_5a","OpenSSL_0_9_5a-beta1","OpenSSL_0_9_5a-beta2","OpenSSL_0_9_5beta1","OpenSSL_0_9_5beta2","OpenSSL_0_9_6-beta3","OpenSSL_1_1_0-pre1","OpenSSL_1_1_0-pre2","OpenSSL_1_1_0-pre3","OpenSSL_1_1_0-pre4","OpenSSL_1_1_0-pre5","OpenSSL_1_1_0-pre6","OpenSSL_1_1_1","OpenSSL_1_1_1-pre1","OpenSSL_1_1_1-pre2","OpenSSL_1_1_1-pre3","OpenSSL_1_1_1-pre4","OpenSSL_1_1_1-pre5","OpenSSL_1_1_1-pre6","OpenSSL_1_1_1-pre7","OpenSSL_1_1_1-pre8","OpenSSL_1_1_1-pre9","master-post-auto-reformat","master-post-reformat","master-pre-auto-reformat","master-pre-reformat","openssl-3.0.0-alpha1","openssl-3.0.0-alpha10","openssl-3.0.0-alpha11","openssl-3.0.0-alpha12","openssl-3.0.0-alpha13","openssl-3.0.0-alpha14","openssl-3.0.0-alpha15","openssl-3.0.0-alpha16","openssl-3.0.0-alpha17","openssl-3.0.0-alpha2","openssl-3.0.0-alpha3","openssl-3.0.0-alpha4","openssl-3.0.0-alpha5","openssl-3.0.0-alpha6","openssl-3.0.0-alpha7","openssl-3.0.0-alpha8","openssl-3.0.0-alpha9","openssl-3.0.0-beta1","openssl-3.0.0-beta2","openssl-3.2.0","openssl-3.2.0-alpha1","openssl-3.2.0-alpha2","openssl-3.2.0-beta1","openssl-3.2.1","openssl-3.2.2","openssl-3.2.3","openssl-3.2.4","openssl-3.2.5","openssl-3.3.0","openssl-3.3.0-alpha1","openssl-3.3.0-beta1","openssl-3.3.1","openssl-3.3.2","openssl-3.3.3","openssl-3.3.4","openssl-3.4.0","openssl-3.4.0-alpha1","openssl-3.4.0-beta1","openssl-3.4.1","openssl-3.4.2","openssl-3.5.0","openssl-3.5.0-alpha1","openssl-3.5.0-beta1","openssl-3.5.1","openssl-3.5.2","openssl-3.5.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9231.json","vanir_signatures":[{"source":"https://github.com/openssl/openssl/commit/eed5adc9f969d77c94f213767acbb41ff923b6f4","deprecated":false,"target":{"file":"crypto/ec/ecp_sm2p256.c","function":"EC_GFp_sm2p256_method"},"id":"CVE-2025-9231-0a173897","signature_version":"v1","signature_type":"Function","digest":{"function_hash":"228975674964673153327344367611195603813","length":1413}},{"source":"https://github.com/openssl/openssl/commit/fc47a2ec078912b3e914fab5734535e76c4820c2","deprecated":false,"target":{"file":"crypto/ec/ecp_sm2p256.c"},"id":"CVE-2025-9231-1c441952","signature_version":"v1","signature_type":"Line","digest":{"line_hashes":["246421341653923193586783108578436995594","165531523737299840919921065590355522697","18229344054124728427593867306425443651","24266715163726303181486152260821359716","7395405381188139375821676029670613492","45412430000582672495337306435173847003","235876622437882869915650874338137663887","235876622437882869915650874338137663887","186708629684641006598401669327723483366","263307798859667681852006462056982872272","204829054929762304879144137237214260511","228312666475207087463597735904232822597"],"threshold":0.9}},{"source":"https://github.com/openssl/openssl/commit/cba616c26ac8e7b37de5e77762e505ba5ca51698","deprecated":false,"target":{"file":"crypto/ec/ecp_sm2p256.c","function":"EC_GFp_sm2p256_method"},"id":"CVE-2025-9231-9e687c2e","signature_version":"v1","signature_type":"Function","digest":{"function_hash":"228975674964673153327344367611195603813","length":1413}},{"source":"https://github.com/openssl/openssl/commit/567f64386e43683888212226824b6a179885a0fe","deprecated":false,"target":{"file":"crypto/ec/ecp_sm2p256.c","function":"EC_GFp_sm2p256_method"},"id":"CVE-2025-9231-c06aeee8","signature_version":"v1","signature_type":"Function","digest":{"function_hash":"228975674964673153327344367611195603813","length":1413}},{"source":"https://github.com/openssl/openssl/commit/eed5adc9f969d77c94f213767acbb41ff923b6f4","deprecated":false,"target":{"file":"crypto/ec/ecp_sm2p256.c"},"id":"CVE-2025-9231-cea2ed68","signature_version":"v1","signature_type":"Line","digest":{"line_hashes":["246421341653923193586783108578436995594","165531523737299840919921065590355522697","18229344054124728427593867306425443651","24266715163726303181486152260821359716","7395405381188139375821676029670613492","45412430000582672495337306435173847003","235876622437882869915650874338137663887","235876622437882869915650874338137663887","186708629684641006598401669327723483366","263307798859667681852006462056982872272","204829054929762304879144137237214260511","228312666475207087463597735904232822597"],"threshold":0.9}},{"source":"https://github.com/openssl/openssl/commit/fc47a2ec078912b3e914fab5734535e76c4820c2","deprecated":false,"target":{"file":"crypto/ec/ecp_sm2p256.c","function":"EC_GFp_sm2p256_method"},"id":"CVE-2025-9231-e50bd482","signature_version":"v1","signature_type":"Function","digest":{"function_hash":"228975674964673153327344367611195603813","length":1413}},{"source":"https://github.com/openssl/openssl/commit/cba616c26ac8e7b37de5e77762e505ba5ca51698","deprecated":false,"target":{"file":"crypto/ec/ecp_sm2p256.c"},"id":"CVE-2025-9231-e65977eb","signature_version":"v1","signature_type":"Line","digest":{"line_hashes":["246421341653923193586783108578436995594","165531523737299840919921065590355522697","18229344054124728427593867306425443651","24266715163726303181486152260821359716","7395405381188139375821676029670613492","45412430000582672495337306435173847003","235876622437882869915650874338137663887","235876622437882869915650874338137663887","186708629684641006598401669327723483366","263307798859667681852006462056982872272","204829054929762304879144137237214260511","228312666475207087463597735904232822597"],"threshold":0.9}},{"source":"https://github.com/openssl/openssl/commit/567f64386e43683888212226824b6a179885a0fe","deprecated":false,"target":{"file":"crypto/ec/ecp_sm2p256.c"},"id":"CVE-2025-9231-f8a11680","signature_version":"v1","signature_type":"Line","digest":{"line_hashes":["246421341653923193586783108578436995594","165531523737299840919921065590355522697","18229344054124728427593867306425443651","24266715163726303181486152260821359716","7395405381188139375821676029670613492","45412430000582672495337306435173847003","235876622437882869915650874338137663887","235876622437882869915650874338137663887","186708629684641006598401669327723483366","263307798859667681852006462056982872272","204829054929762304879144137237214260511","228312666475207087463597735904232822597"],"threshold":0.9}}],"vanir_signatures_modified":"2026-04-12T22:06:21Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"}]}