Skip to main content
VulnerabilityPublished

CVE-2026-63410: secp256k1-native has a compiler-induced timing side channel in scalar multiplication

Affects secp256k1-nativeSource GCVE Database

0
Compare
Authoritative record:CVE-2026-63410· Medium 5.9

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

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
RubyGemssecp256k1-nativeAffected
  • <0.18.0
Fixed in
  • 0.18.0

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

Community reviews

Loading reviews…