CVE-2026-63410
Last modified
CVE-2026-63410 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| sgbett | secp256k1-native | >= 0.17.0, < 0.18.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-63410?
How severe is CVE-2026-63410?
How do I fix CVE-2026-63410?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-63405AnyCable is a realtime server for reliable two-way communica…5.9
- CVE-2026-63406AnyCable is a realtime server for reliable two-way communica…5.9
- CVE-2026-63407Grav API Plugin is a RESTful API for Grav CMS that provides …8.2
- CVE-2026-63408Grav API Plugin is a RESTful API for Grav CMS that provides …7.5
- CVE-2026-63409Deskflow is a keyboard and mouse sharing app. From 1.17.0 un…8.2
- CVE-2026-6341Mattermost Plugins versions <=11.5 11.1.5 10.13.11 11.3.4.0 …4.3
- CVE-2026-63414Shopify App is a Rails engine for building Shopify applicati…7.6
- CVE-2026-63416draw.io is a configurable diagramming and whiteboarding appl…3.7
- CVE-2026-63419OpenImageIO is a toolset for reading, writing, and manipulat…7.8
- CVE-2026-6342Mattermost Plugins versions <=11.5 11.1.5 10.13.11 11.3.4.0 …4.3
- CVE-2026-63420OpenImageIO is a toolset for reading, writing, and manipulat…5.5
- CVE-2026-63421Keystone is a content management system for Node.js. Prior t…7.5
Are you affected by CVE-2026-63410?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
