← 漏洞与更新

中危漏洞公告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。