{"id":"CVE-2025-9231","summary":"Timing side-channel in SM2 algorithm on 64 bit ARM","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-11-18T01:06:16.136930370Z","published":"2025-09-30T13:17:12.007Z","related":["SUSE-SU-2025:21213-1","SUSE-SU-2025:21224-1","SUSE-SU-2026:3835-1","openSUSE-SU-2025:15723-1","openSUSE-SU-2025:20164-1","openSUSE-SU-2026:10237-1"],"database_specific":{"cwe_ids":["CWE-385"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9231.json","cna_assigner":"openssl"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/09/30/5"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/05/11/11"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-089022.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-585531.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9231.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9231"},{"type":"ADVISORY","url":"https://openssl-library.org/news/secadv/20250930.txt"},{"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/alsyundawy/openssl-1.0.2","events":[{"introduced":"c46078156d49453ba69badc9addb1e2dcd1c71f5"},{"fixed":"c46078156d49453ba69badc9addb1e2dcd1c71f5"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.0.2"},{"fixed":"1.0.2zm"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"}]}},{"type":"GIT","repo":"https://github.com/kzalewski/openssl-1.1.1","events":[{"introduced":"5e834d3efb41f9a0fd01e2a1190b813097801fc8"},{"fixed":"5e834d3efb41f9a0fd01e2a1190b813097801fc8"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"1.1.1"},{"fixed":"1.1.1zd"}]}]}},{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"e818b74be2170fbe957a07b0da4401c2b694b3b8"},{"fixed":"e818b74be2170fbe957a07b0da4401c2b694b3b8"},{"introduced":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"fixed":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"introduced":"89cd17a031e022211684eb7eb41190cf1910f9fa"},{"fixed":"c10e643222ce5a185f2980d7352d545afacb0fed"},{"introduced":"cf2877791ce7508684109664f467c9e40987692f"},{"fixed":"86874e2ee18ccc14aa518bffa178ebada9c66c86"},{"introduced":"4cb31128b5790819dfeea2739fbde265f71a10a2"},{"fixed":"f10934c46fef092d04788f01fd0a4eafe3ef715f"},{"introduced":"98acb6b02839c609ef5b837794e08d906d965335"},{"fixed":"474f0e27bc6b23bbc3ae18543ede9315adfddf1a"},{"introduced":"636dfadc70ce26f2473870570bfd9ec352806b1d"},{"fixed":"c1eeb9406b6142148f267594197d853403d10208"},{"fixed":"567f64386e43683888212226824b6a179885a0fe"},{"fixed":"cba616c26ac8e7b37de5e77762e505ba5ca51698"},{"fixed":"eed5adc9f969d77c94f213767acbb41ff923b6f4"},{"fixed":"fc47a2ec078912b3e914fab5734535e76c4820c2"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"1.0.2"},{"fixed":"1.0.2zm"}]},{"range":[{"introduced":"1.1.1"},{"fixed":"1.1.1zd"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"3.0.0"},{"fixed":"3.0.18"}],"source":"CPE_RANGE"},{"range":[{"introduced":"3.2.0"},{"fixed":"3.2.6"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"3.3.0"},{"fixed":"3.3.5"}],"source":"CPE_RANGE"},{"range":[{"introduced":"3.4.0"},{"fixed":"3.4.3"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"3.5.0"},{"fixed":"3.5.4"}],"source":"CPE_RANGE"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"567f64386e43683888212226824b6a179885a0fe"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"cba616c26ac8e7b37de5e77762e505ba5ca51698"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"eed5adc9f969d77c94f213767acbb41ff923b6f4"}]},{"range":[{"fixed":"fc47a2ec078912b3e914fab5734535e76c4820c2"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["openssl-3.5.3","openssl-3.5.2","openssl-3.0.17","openssl-3.2.5","openssl-3.3.4","openssl-3.4.2","openssl-3.5.1","openssl-3.5.0","openssl-3.0.16","openssl-3.2.4","openssl-3.3.3","openssl-3.4.1","openssl-3.4.0","openssl-3.0.15","openssl-3.2.3","openssl-3.3.2","openssl-3.0.14","openssl-3.2.2","openssl-3.3.1","openssl-3.3.0","openssl-3.0.13","openssl-3.2.1","openssl-3.2.0","openssl-3.0.12","openssl-3.0.11","openssl-3.0.10","openssl-3.0.9","openssl-3.0.8","openssl-3.0.7","openssl-3.0.6","openssl-3.0.5","openssl-3.0.4","openssl-3.0.3","openssl-3.0.2","openssl-3.0.1","openssl-3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9231.json","vanir_signatures":[{"deprecated":false,"digest":{"length":1413,"function_hash":"228975674964673153327344367611195603813"},"id":"CVE-2025-9231-0a173897","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/eed5adc9f969d77c94f213767acbb41ff923b6f4","target":{"file":"crypto/ec/ecp_sm2p256.c","function":"EC_GFp_sm2p256_method"}},{"target":{"file":"crypto/ec/ecp_sm2p256.c"},"deprecated":false,"digest":{"line_hashes":["246421341653923193586783108578436995594","165531523737299840919921065590355522697","18229344054124728427593867306425443651","24266715163726303181486152260821359716","7395405381188139375821676029670613492","45412430000582672495337306435173847003","235876622437882869915650874338137663887","235876622437882869915650874338137663887","186708629684641006598401669327723483366","263307798859667681852006462056982872272","204829054929762304879144137237214260511","228312666475207087463597735904232822597"],"threshold":0.9},"id":"CVE-2025-9231-1c441952","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/fc47a2ec078912b3e914fab5734535e76c4820c2"},{"id":"CVE-2025-9231-9e687c2e","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/cba616c26ac8e7b37de5e77762e505ba5ca51698","target":{"function":"EC_GFp_sm2p256_method","file":"crypto/ec/ecp_sm2p256.c"},"deprecated":false,"digest":{"function_hash":"228975674964673153327344367611195603813","length":1413}},{"target":{"file":"crypto/ec/ecp_sm2p256.c","function":"EC_GFp_sm2p256_method"},"deprecated":false,"digest":{"function_hash":"228975674964673153327344367611195603813","length":1413},"id":"CVE-2025-9231-c06aeee8","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/567f64386e43683888212226824b6a179885a0fe"},{"id":"CVE-2025-9231-c377fa22","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/e04bd3433fd84e1861bf258ea37928d9845e6a86","target":{"file":"include/openssl/opensslv.h"},"deprecated":false,"digest":{"line_hashes":["28170854778703993674264004058177114599","73132526844288570625317440636111911761","177405411499435185068645597737938634778","224809958623850711330610094965797758930","295554444428855106393106961197201359586"],"threshold":0.9}},{"id":"CVE-2025-9231-cea2ed68","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/eed5adc9f969d77c94f213767acbb41ff923b6f4","target":{"file":"crypto/ec/ecp_sm2p256.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["246421341653923193586783108578436995594","165531523737299840919921065590355522697","18229344054124728427593867306425443651","24266715163726303181486152260821359716","7395405381188139375821676029670613492","45412430000582672495337306435173847003","235876622437882869915650874338137663887","235876622437882869915650874338137663887","186708629684641006598401669327723483366","263307798859667681852006462056982872272","204829054929762304879144137237214260511","228312666475207087463597735904232822597"]}},{"source":"https://github.com/openssl/openssl/commit/e818b74be2170fbe957a07b0da4401c2b694b3b8","target":{"file":"crypto/opensslv.h"},"deprecated":false,"digest":{"line_hashes":["251633914150035957322733061977107206211","338514574181828579838011565939158652696","76638288692106140328510055542557597351","142922657400765574308962710386922248045","71649992455794854055653842592139575350","65527166711110472566013424527579064967","253196866009476977787139000804413898733","172177136897997206866313011107384691461"],"threshold":0.9},"id":"CVE-2025-9231-e051451f","signature_type":"Line","signature_version":"v1"},{"id":"CVE-2025-9231-e50bd482","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/fc47a2ec078912b3e914fab5734535e76c4820c2","target":{"function":"EC_GFp_sm2p256_method","file":"crypto/ec/ecp_sm2p256.c"},"deprecated":false,"digest":{"length":1413,"function_hash":"228975674964673153327344367611195603813"}},{"target":{"file":"crypto/ec/ecp_sm2p256.c"},"deprecated":false,"digest":{"line_hashes":["246421341653923193586783108578436995594","165531523737299840919921065590355522697","18229344054124728427593867306425443651","24266715163726303181486152260821359716","7395405381188139375821676029670613492","45412430000582672495337306435173847003","235876622437882869915650874338137663887","235876622437882869915650874338137663887","186708629684641006598401669327723483366","263307798859667681852006462056982872272","204829054929762304879144137237214260511","228312666475207087463597735904232822597"],"threshold":0.9},"id":"CVE-2025-9231-e65977eb","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/cba616c26ac8e7b37de5e77762e505ba5ca51698"},{"source":"https://github.com/openssl/openssl/commit/567f64386e43683888212226824b6a179885a0fe","target":{"file":"crypto/ec/ecp_sm2p256.c"},"deprecated":false,"digest":{"line_hashes":["246421341653923193586783108578436995594","165531523737299840919921065590355522697","18229344054124728427593867306425443651","24266715163726303181486152260821359716","7395405381188139375821676029670613492","45412430000582672495337306435173847003","235876622437882869915650874338137663887","235876622437882869915650874338137663887","186708629684641006598401669327723483366","263307798859667681852006462056982872272","204829054929762304879144137237214260511","228312666475207087463597735904232822597"],"threshold":0.9},"id":"CVE-2025-9231-f8a11680","signature_type":"Line","signature_version":"v1"}],"vanir_signatures_modified":"2026-11-18T01:06:16Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}