home / blog

2026-11-24 · medium

CVE-2026-63410: Side-Channel Vulnerability in secp256k1-native for Ruby

Side-channel vulnerability in secp256k1-native: timing attacks reveal secret information

CVE-2026-63410: Side-Channel Vulnerability in secp256k1-native for Ruby

CVE-2026-63410 is a vulnerability in versions prior to 0.18.0 of secp256k1-native, a native C implementation of secp256k1 for Ruby. Constant-time scalar multiplication through Point#mul or scalar_multiply_ct can leak timing information about secret scalars when compiled by toolchains that reconstruct branchless selection.

Severity is medium (CVSS 5.9) and affects native builds with GCC 14.3.0, 15.1.0 and 15.2.0 that reconstruct conditional selections, generating secret-dependent jumps. Official signals and GitHub reports confirm the existence of exploits for this vulnerability.

Mitigation: update to version 0.18.0 which contains the verified fix. Administrators should verify if their applications use this library and apply the update. The pure-Ruby implementation is not affected by this specific vulnerability.

At a glance

What
Side-channel vulnerability in secp256k1-native, a native C implementation of secp256k1 for Ruby, allowing recovery of sensitive information through timing attacks.
Severity
Medium (CVSS 5.9)
Affected versions
All versions before 0.18.0
Fix
Update to version 0.18.0 or later
Status
Fixed in version 0.18.0
Action
Verify if you are using the secp256k1-native library and update

Sources: NVD, CVE-2026-63410

← All articles