Home / sgbett / secp256k1-native / CVE-2026-63410
CVE-2026-63410: is it exploited, and which versions of sgbett secp256k1-native are affected and fixed?
CVE-2026-63410 is a timing side channel vulnerability in sgbett secp256k1-native. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: secp256k1-native before 0.18.0 (GitHub advisory GHSA-vp2j-gqfm-r3cf). Fixed in 0.18.0 (GitHub advisory GHSA-vp2j-gqfm-r3cf). Severity: Medium (5.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-63410?
secp256k1-native: Compiler-reconstructed secret-dependent branch in native scalar multiplication
secp256k1-native is a native C secp256k1 implementation for Ruby. In affected native builds, native constant-time scalar multiplication through `Point#mul` or `scalar_multiply_ct` can leak timing information about a secret scalar when compiled by a toolchain that reconstructs branchless selection into a branch. The `Montgomery ladder` uses `uint256_select` with an all-zeros or all-ones mask, but affected GCC builds at `-O2` recover the original condition and emit secret-dependent `je` or `jne` jumps whose timing correlates with scalar bits. This defeats the assumption behind the 0.17.0 `jp_add_internal` infinity-branch fix. A consumer must multiply a secret private key or nonce in a context where an attacker can observe timing; repeated measurements can statistically recover scalar bits. The defect is in the compiled binary, so source review or `ctgrind` on a non-reconstructing toolchain may miss it. GCC 14.3.0, 15.1.0, and 15.2.0 reproduced the branch reconstruction, and `extconf.rb` appends `-O2`. Tested GCC versions through 12.4.0 used bitwise operations and GCC 13.3.0 used constant-time `cmov`; the pure-Ruby path is not affected by this flaw and separately makes no constant-time claim. GCC 16 and clang were untested, and point releases, targets, and flag combinations were not exhaustively bisected. `Earlier pre-0.17.0 versions had different constant-time issues rather than this introduced select idiom.` Version 0.18.0 contains the verified fix. The advisory's broad pre-0.18.0 guidance also covers earlier, different constant-time issues; whether this CVE groups those issues or only the select idiom introduced in 0.17.0 remains unresolved.
From the CVE record by GitHub_M, last updated November 2, 2026, 14:50 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sgbett | secp256k1-native | >= 0.17.0, < 0.18.0 |
As the CVE record by GitHub_M states it, last updated November 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | secp256k1-native | < 0.18.0 | 0.18.0 | GHSA-vp2j-gqfm-r3cf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 23, 2026. Summary: secp256k1-native has a compiler-induced timing side channel in scalar multiplication.
How severe is CVE-2026-63410?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-63410 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, November 2, 2026)
- EPSS
- 0.48% probability of exploitation activity in the next 30 days, percentile 42.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-208 Observable Timing Discrepancy
- CWE-1255 Comparison Logic is Vulnerable to Power Side-Channel Attacks
Where are the vendor advisories and references?
- https://github.com/sgbett/secp256k1-native/security/advisories/GHSA-vp2j-gqfm-r3cf x_refsource_CONFIRM
- https://github.com/sgbett/secp256k1-native/pull/32 x_refsource_MISC
- https://github.com/sgbett/secp256k1-native/commit/a89bea1617a2d063c6545ad44565dc22098c880e x_refsource_MISC
- https://github.com/sgbett/secp256k1-native/blob/master/docs/advisories/0001-compiler-reconstructed-ct-branch.md x_refsource_MISC
- https://github.com/sgbett/secp256k1-native/releases/tag/v0.18.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 16, 2026
- Published
- October 30, 2026, 22:48 UTC
- CVE record updated
- November 2, 2026, 14:50 UTC by GitHub_M
- NVD
- Deferred, last modified November 2, 2026, 19:35 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-63410
Is CVE-2026-63410 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.48% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of sgbett secp256k1-native are affected by CVE-2026-63410?
secp256k1-native before 0.18.0, per the GitHub advisory GHSA-vp2j-gqfm-r3cf. The tables above give every range the sources list.
Which version fixes CVE-2026-63410?
0.18.0, per the GitHub advisory GHSA-vp2j-gqfm-r3cf. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-63410?
Medium (5.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-63410?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.