nday
CVE-2026-63410 GHSA-vp2j-gqfm-r3cf

secp256k1-native: Compiler-reconstructed secret-dependent branch in native scalar multiplication

sgbett / secp256k1-native

CVE 공개 24일 후 패치 기록. 해결 버전: secp256k1-native 0.18.0. PoC 출처 4곳 모두 미등재. CISA KEV 미등재.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

information disclosure
CWE-208, stated by the CNA GitHub_M, NVD, republishing [email protected] 및 GitHub advisory GHSA-vp2j-gqfm-r3cf
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the CNA GitHub_M
RubyGems
GHSA-vp2j-gqfm-r3cf: rubygems packages secp256k1-native
현재 단계
PAT
공개
공개 → 패치
T+24d
CVSS
5.9 MEDIUM v3.1

생명주기

가로축 UTC. 점 = 분 단위, 넓은 막대 = 날짜만, 빈 표시 = 불명 또는 추정.
시점 알 수 없음
DIS공개
10-30T22:48Z
PAT패치
11-23T21:01Z
ANA분석
아직 기록 없음
POCPoC
아직 기록 없음
ITW악용
아직 기록 없음
KEVKEV
아직 기록 없음

요약

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

이벤트 로그

+DISCVE 공개

CVE 레코드 공개(CNA: GitHub_M). CVSS 5.9(중간). CISA SSVC 평가상 악용 상태: poc.

출처 cvelist · nday 일괄 수집 · 원본
{
  "id": 436845,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-63410",
  "occurred_at": "2026-10-30T22:48:09.173Z",
  "observed_at": "2026-11-13T05:40:01.626611Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "version": "3.1",
      "base_score": 5.9,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-02T14:49:39.327340Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-10-30T22:48:09.173Z",
    "assigner_short_name": "GitHub_M"
  }
}
출처 시각 없음, nday 실시간 관측
+PAT패치

보안 권고상 해결 버전: secp256k1-native 0.18.0. 수정 커밋 링크 포함. 보안 권고 게시: . 패치 자체의 배포 시점은 기록되지 않음.

출처 ghsa GHSA-vp2j-gqfm-r3cf · nday 실시간 관측 · 원본
{
  "id": 526533,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-vp2j-gqfm-r3cf",
  "occurred_at": null,
  "observed_at": "2026-11-23T21:01:22.603333Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-vp2j-gqfm-r3cf",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 5.9,
        "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Observable Timing Discrepancy",
        "cwe_id": "CWE-208"
      },
      {
        "name": "Comparison Logic is Vulnerable to Power Side-Channel Attacks",
        "cwe_id": "CWE-1255"
      }
    ],
    "ghsa_id": "GHSA-vp2j-gqfm-r3cf",
    "packages": [
      {
        "name": "secp256k1-native",
        "ecosystem": "rubygems",
        "first_patched_version": "0.18.0",
        "vulnerable_version_range": "< 0.18.0"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/sgbett/secp256k1-native/security/advisories/GHSA-vp2j-gqfm-r3cf",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-63410",
      "https://github.com/sgbett/secp256k1-native/pull/32",
      "https://github.com/sgbett/secp256k1-native/commit/a89bea1617a2d063c6545ad44565dc22098c880e",
      "https://github.com/sgbett/secp256k1-native/blob/master/docs/advisories/0001-compiler-reconstructed-ct-branch.md",
      "https://github.com/sgbett/secp256k1-native/releases/tag/v0.18.0",
      "https://github.com/advisories/GHSA-vp2j-gqfm-r3cf"
    ],
    "fix_commit_urls": [
      "https://github.com/sgbett/secp256k1-native/pull/32",
      "https://github.com/sgbett/secp256k1-native/commit/a89bea1617a2d063c6545ad44565dc22098c880e"
    ],
    "github_reviewed_at": "2026-11-23T20:59:48Z",
    "advisory_updated_at": "2026-11-23T20:59:50Z",
    "source_code_location": "https://github.com/sgbett/secp256k1-native",
    "advisory_published_at": "2026-11-23T20:59:48Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

연구자 논의

최근 7일간 연구자 0명이 언급

목록의 연구자가 X에서 이 CVE를 언급한 게시물입니다. 원문 그대로 보여 주며 nday는 검증하지 않습니다.

명단의 연구자가 X에서 이 CVE를 언급한 게시물은 아직 수집되지 않았습니다.

Discussion

0 comments

No comments yet.