{"id":"CVE-2026-54872","summary":"Timing Side-Channel in Scalar Multiplication for Non-NIST EC Curves","details":"Issue summary: The generic elliptic-curve scalar multiplication used for\nECDSA and SM2 signature operations with curves that do not have a dedicated\nimplementation leaks information about the secret nonce through timing.\n\nImpact summary: An attacker able to measure signing times may learn\ninformation about the per-signature secret nonce, which over many signatures\ncan, via a lattice / Hidden Number Problem attack, lead to recovery of the\nprivate key.\n\nCWE: CWE-208: Observable Timing Discrepancy\n\nDescription: The generic elliptic-curve scalar multiplication used for\ncurves that do not have a dedicated constant-time implementation pads the\nsecret scalar with non-constant-time BIGNUM operations, so the time taken\ndepends on the value of the secret scalar derived from the ECDSA and SM2 nonce.\n\nThe leak is very small; observing it requires a large number of\nmeasurements. The effect is largest for curves whose group order lies\non a machine-word boundary, such as brainpoolP384r1.\n\nApplications using ECDSA signing over the Brainpool and other generic prime\ncurves, and SM2 signing on platforms that use the generic implementation,\nare vulnerable to this issue.\n\nThe NIST curves P-256, P-384 and P-521 use dedicated constant-time\nimplementations and are not affected.\n\nFIPS Impact: no\nThe FIPS modules are not affected: the approved NIST curves used in the FIPS\nprovider have dedicated constant-time implementations and do not use the\naffected code path.","modified":"2026-11-25T17:27:28.186192984Z","published":"2026-09-29T15:32:15.075Z","related":["ALSA-2026:103486","ALSA-2026:98484","ALSA-2026:98588","SUSE-SU-2026:24133-1","SUSE-SU-2026:24188-1","SUSE-SU-2026:24245-1","SUSE-SU-2026:24273-1","SUSE-SU-2026:4412-1","SUSE-SU-2026:4413-1","SUSE-SU-2026:4414-1","SUSE-SU-2026:4419-1","SUSE-SU-2026:5172-1","SUSE-SU-2026:5196-1","SUSE-SU-2026:5197-1","SUSE-SU-2026:5205-1","SUSE-SU-2026:5206-1","SUSE-SU-2026:5209-1","SUSE-SU-2026:5435-1","openSUSE-SU-2026:12631-1","openSUSE-SU-2026:22102-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"3.0.0"},{"fixed":"3.0.23"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}],"cna_assigner":"openssl","cwe_ids":["CWE-208"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54872.json"},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54872.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54872"},{"type":"ADVISORY","url":"https://openssl-library.org/news/secadv/20260929.txt"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd"},{"type":"FIX","url":"https://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/alsyundawy/openssl-1.0.2","events":[{"introduced":"c46078156d49453ba69badc9addb1e2dcd1c71f5"},{"fixed":"c46078156d49453ba69badc9addb1e2dcd1c71f5"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"1.0.2"},{"fixed":"1.0.2zs"}]}]}},{"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.1zj"}]}]}},{"type":"GIT","repo":"https://github.com/openssl/openssl","events":[{"introduced":"e818b74be2170fbe957a07b0da4401c2b694b3b8"},{"fixed":"e818b74be2170fbe957a07b0da4401c2b694b3b8"},{"introduced":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"fixed":"e04bd3433fd84e1861bf258ea37928d9845e6a86"},{"introduced":"98acb6b02839c609ef5b837794e08d906d965335"},{"fixed":"e72c946f6f6d94c8ba5119acb25340b7b6b2073f"},{"introduced":"636dfadc70ce26f2473870570bfd9ec352806b1d"},{"fixed":"45e844fa2a14ec92d146bd8f5778ac130b6625fb"},{"introduced":"7b371d80d959ec9ab4139d09d78e83c090de9779"},{"fixed":"c8bd5a57108599ac650bbae77fcabe3109dab2e8"},{"introduced":"11b7b6ea3b65a584e1d31408ed1bdb139465cffd"},{"fixed":"af1775b60dfa141a4ad762585052cabeb9f37e9e"},{"fixed":"1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179"},{"fixed":"3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb"},{"fixed":"7d83bc7764999dfd91b83b4f0815b45390422afd"},{"fixed":"8166827a78aad164a07aa86dea2b425403ced471"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"1.0.2"},{"fixed":"1.0.2zs"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"1.1.1"},{"fixed":"1.1.1zj"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"3.4.0"},{"fixed":"3.4.8"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"3.5.0"},{"fixed":"3.5.9"}],"source":"CPE_RANGE"},{"range":[{"introduced":"3.6.0"},{"fixed":"3.6.5"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","range":[{"introduced":"4.0.0"},{"fixed":"4.0.3"}],"source":"CPE_RANGE"},{"range":[{"fixed":"1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"7d83bc7764999dfd91b83b4f0815b45390422afd"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"8166827a78aad164a07aa86dea2b425403ced471"}]}]}}],"versions":["openssl-3.4.7","openssl-3.5.8","openssl-3.6.4","openssl-4.0.2","openssl-3.4.6","openssl-3.5.7","openssl-3.6.3","openssl-4.0.1","openssl-4.0.0","openssl-3.4.5","openssl-3.5.6","openssl-3.6.2","openssl-3.4.4","openssl-3.5.5","openssl-3.6.1","3.4-POST-CLANG-FORMAT-WEBKIT","3.4-PRE-CLANG-FORMAT-WEBKIT","3.5-POST-CLANG-FORMAT-WEBKIT","3.5-PRE-CLANG-FORMAT-WEBKIT","3.6-POST-CLANG-FORMAT-WEBKIT","3.6-PRE-CLANG-FORMAT-WEBKIT","openssl-3.6.0","openssl-3.4.3","openssl-3.5.4","openssl-3.5.3","openssl-3.5.2","openssl-3.4.2","openssl-3.5.1","openssl-3.5.0","openssl-3.4.1","openssl-3.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54872.json","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb","target":{"file":"crypto/ec/ec_mult.c"},"deprecated":false,"digest":{"line_hashes":["328493547438191950330103109949366870713","18994645967593715300650483735338636795","72029529736465773819848366937382271654","135823012032519704753021676367926265312","40539978950108934516356789693758702109","171918580963209199429602510021116378531","318240323245541525915123201925088485944","289285563693754448730441332762337085366","89740542664059088073197337037802062761","253778800443254256402039908808918414339"],"threshold":0.9},"id":"CVE-2026-54872-10c3b893"},{"target":{"file":"crypto/ec/ec_mult.c","function":"ossl_ec_scalar_mul_ladder"},"deprecated":false,"digest":{"function_hash":"24924412503752677171823665992795509101","length":3738},"id":"CVE-2026-54872-1cb75c94","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471"},{"digest":{"function_hash":"24924412503752677171823665992795509101","length":3738},"id":"CVE-2026-54872-1e804233","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd","target":{"function":"ossl_ec_scalar_mul_ladder","file":"crypto/ec/ec_mult.c"},"deprecated":false},{"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd","target":{"file":"crypto/bn/bn_intern.c"},"deprecated":false,"digest":{"line_hashes":["48228271279961814950614929426071625992","16842403249985325654436322340187281079","152968568948214719290649091872173341456","20139802118385538107958773239314911992","64482539364541367338462959904422274642"],"threshold":0.9},"id":"CVE-2026-54872-48cac6ae","signature_type":"Line"},{"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471","target":{"file":"crypto/bn/bn_intern.c"},"deprecated":false,"digest":{"line_hashes":["48228271279961814950614929426071625992","16842403249985325654436322340187281079","152968568948214719290649091872173341456","20139802118385538107958773239314911992","64482539364541367338462959904422274642"],"threshold":0.9},"id":"CVE-2026-54872-6279b0e4","signature_type":"Line"},{"digest":{"line_hashes":["247343233376019283563224409530522340557","122014047096443945313200763086438775637","39741713961833830267963132984194130795","148641977207735290631890501610212359253"],"threshold":0.9},"id":"CVE-2026-54872-6c9ba953","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471","target":{"file":"include/crypto/bn.h"},"deprecated":false},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179","target":{"file":"crypto/ec/ec_mult.c"},"deprecated":false,"digest":{"line_hashes":["328493547438191950330103109949366870713","18994645967593715300650483735338636795","72029529736465773819848366937382271654","135823012032519704753021676367926265312","40539978950108934516356789693758702109","171918580963209199429602510021116378531","318240323245541525915123201925088485944","289285563693754448730441332762337085366","89740542664059088073197337037802062761","253778800443254256402039908808918414339"],"threshold":0.9},"id":"CVE-2026-54872-789d851d"},{"signature_version":"v1","source":"https://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179","target":{"file":"include/crypto/bn.h"},"deprecated":false,"digest":{"line_hashes":["247343233376019283563224409530522340557","122014047096443945313200763086438775637","39741713961833830267963132984194130795","148641977207735290631890501610212359253"],"threshold":0.9},"id":"CVE-2026-54872-8414db0d","signature_type":"Line"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb","target":{"file":"crypto/ec/ec_mult.c","function":"ossl_ec_scalar_mul_ladder"},"deprecated":false,"digest":{"length":3738,"function_hash":"24924412503752677171823665992795509101"},"id":"CVE-2026-54872-8f8c8e65"},{"digest":{"threshold":0.9,"line_hashes":["48228271279961814950614929426071625992","16842403249985325654436322340187281079","152968568948214719290649091872173341456","20139802118385538107958773239314911992","64482539364541367338462959904422274642"]},"id":"CVE-2026-54872-99ea1974","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb","target":{"file":"crypto/bn/bn_intern.c"},"deprecated":false},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["48228271279961814950614929426071625992","16842403249985325654436322340187281079","152968568948214719290649091872173341456","20139802118385538107958773239314911992","64482539364541367338462959904422274642"]},"id":"CVE-2026-54872-9c889047","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179","target":{"file":"crypto/bn/bn_intern.c"}},{"target":{"file":"crypto/ec/ec_mult.c"},"deprecated":false,"digest":{"line_hashes":["328493547438191950330103109949366870713","18994645967593715300650483735338636795","72029529736465773819848366937382271654","135823012032519704753021676367926265312","40539978950108934516356789693758702109","171918580963209199429602510021116378531","318240323245541525915123201925088485944","289285563693754448730441332762337085366","89740542664059088073197337037802062761","253778800443254256402039908808918414339"],"threshold":0.9},"id":"CVE-2026-54872-9d71787b","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd","target":{"file":"include/crypto/bn.h"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["247343233376019283563224409530522340557","122014047096443945313200763086438775637","39741713961833830267963132984194130795","148641977207735290631890501610212359253"]},"id":"CVE-2026-54872-a7f6c0f9"},{"deprecated":false,"digest":{"line_hashes":["28170854778703993674264004058177114599","73132526844288570625317440636111911761","177405411499435185068645597737938634778","224809958623850711330610094965797758930","295554444428855106393106961197201359586"],"threshold":0.9},"id":"CVE-2026-54872-c377fa22","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/e04bd3433fd84e1861bf258ea37928d9845e6a86","target":{"file":"include/openssl/opensslv.h"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179","target":{"file":"crypto/ec/ec_mult.c","function":"ossl_ec_scalar_mul_ladder"},"deprecated":false,"digest":{"function_hash":"24924412503752677171823665992795509101","length":3738},"id":"CVE-2026-54872-c82501f9"},{"signature_version":"v1","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-2026-54872-e051451f","signature_type":"Line"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd","target":{"file":"crypto/ec/ec_mult.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["328493547438191950330103109949366870713","18994645967593715300650483735338636795","72029529736465773819848366937382271654","135823012032519704753021676367926265312","40539978950108934516356789693758702109","171918580963209199429602510021116378531","318240323245541525915123201925088485944","289285563693754448730441332762337085366","89740542664059088073197337037802062761","253778800443254256402039908808918414339"]},"id":"CVE-2026-54872-e0ab960e"},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["247343233376019283563224409530522340557","122014047096443945313200763086438775637","39741713961833830267963132984194130795","148641977207735290631890501610212359253"]},"id":"CVE-2026-54872-f0fdc1a3","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb","target":{"file":"include/crypto/bn.h"}}],"vanir_signatures_modified":"2026-11-18T01:06:15Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}