← 脆弱性・アップデート

警告脆弱性アドバイザリRuby

secp256k1-native has a compiler-induced timing side channel in scalar multiplication

影響

パッケージ影響する版修正版
rubygems:secp256k1-native< 0.18.00.18.0

Point#mul — the default, constant-time scalar multiplication and the library's headline secret-scalar operation — could leak timing information about the secret scalar (a private key or ECDSA-style nonce in a downstream consumer) not because of a source-level bug, but because the compiler reconstructed a branch from branchless source. The Montgomery ladder selects between point candidates with uint256_select, written deliberately branchlessly as r = (a & ~mask) | (b & mask) with a mask that is…

GitHub Advisory Databaseで読む

2026/11/24 05:59、GitHub Advisory Databaseが「secp256k1-native has a compiler-induced timing side channel in scalar multiplication」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Ruby。CVE: CVE-2026-63410。