CVE-2026-63410: secp256k1-native has a compiler-induced timing side channel in scalar multiplication
Affects secp256k1-nativeSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 0.18.0 when convenient.
Data as of 23 Nov 2026, 21:25 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 0.18.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade secp256k1-native to 0.18.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemssecp256k1-native | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in secp256k1-native version 0.18.0 that fixes the timing side channel by introducing a value barrier to prevent compiler branch reconstruction. Users should upgrade to version 0.18.0 to fully mitigate the issue. As a workaround for unpatched users, compiling the extension with optimization levels -O0 or -O1, or using a compiler that does not reconstruct the select operation into branches, can reduce risk, but this is fragile and not recommended. Until patched, avoid calling Point#mul on secret scalars in any timing-observable context. The vendor recommends upgrading as the primary mitigation.
Description
The secp256k1-native library versions prior to 0.18.0 contain a compiler-induced timing side channel in the constant-time scalar multiplication function Point#mul. This occurs because GCC 15.2 at optimization level -O2 reconstructs a branch from a branchless select operation, causing secret-dependent conditional jumps that leak timing information about the secret scalar. This leak can allow attackers with timing access to statistically recover bits of private keys or nonces. The issue is fixed in version 0.18.0 by introducing a value barrier to prevent the compiler from reconstructing branches. Users should upgrade to 0.18.0 or use a compiler/flags that do not cause this behavior. The vulnerability has a CVSS score of 5.9 (medium severity).
References
- github.com/sgbett/secp256k1-native/security/advisories/GHSA-vp2j-gqfm-r3cf (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-63410 (opens in a new tab)
- github.com/sgbett/secp256k1-native/pull/32 (opens in a new tab)
- github.com/sgbett/secp256k1-native/commit/a89bea1617a2d063c6545ad44565dc22098c880e (opens in a new tab)
- github.com/sgbett/secp256k1-native (opens in a new tab)
- github.com/sgbett/secp256k1-native/blob/master/docs/advisories/0001-compiler-reconstructed-ct-branch.md (opens in a new tab)
- github.com/sgbett/secp256k1-native/releases/tag/v0.18.0 (opens in a new tab)