nday
CVE-2026-107853 GHSA-hj9c-qx2w-g7mh

tiny-secp256k1: Stale buffer after ignored wasm failure accepts invalid infinity tweak

bitcoinjs / tiny-secp256k1 · @bitcoin-js / iny-secp256k1-asmjs

公開から 2 日後に修正版が確認されています。修正済みバージョンは tiny-secp256k1 2.2.5、@bitcoin-js/tiny-secp256k1-asmjs 2.2.5 です。4 つの PoC ソースのいずれにも未掲載です。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.

remote, unauthenticated
AV:N、PR:N、UI:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
no authentication required
PR:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
npm
GHSA-hj9c-qx2w-g7mh: npm packages @bitcoin-js/tiny-secp256k1-asmjs、tiny-secp256k1
現在の段階
PAT
公開日時
公開から修正版まで
T+2d
CVSS 基本値
6.3 MEDIUM v4.0

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
11-17T19:23Z
PAT修正
11-19T23:01Z
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

tiny-secp256k1 is a tiny secp256k1 native/JS wrapper. From 2.1.0 until 2.2.5 for tiny-secp256k1 and from 2.2.2 until 2.2.5 for @bitcoin-js/tiny-secp256k1-asmjs, the three-argument xOnlyPointAddTweakCheck path ignores the backend failure return from xOnlyPointAddTweak when a tweak produces the point at infinity. The shared X_ONLY_PUBLIC_KEY_INPUT buffer then still contains the original point, so a caller-controlled resultToCheck equal to that point can make the stale-buffer comparison return true even though no tweaked key exists. Protocols that rely on this helper to validate caller-controlled internal keys, tweaks, and comparison values can accept an invalid derived key. This issue is fixed in version 2.2.5.

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:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

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

イベント履歴

+DIS公開

GitHub_M が CVE レコードを公開。CVSS 基本値 6.3(警告)。CISA の SSVC 評価では悪用状況(Exploitation)が poc。

出典 cvelist · nday が にリアルタイムで観測 · 生データ
{
  "id": 476904,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-107853",
  "occurred_at": "2026-11-17T19:23:43.255Z",
  "observed_at": "2026-11-17T20:03:12.564625Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 6.3,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-18T16:41:35.251650Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-17T19:23:43.255Z",
    "assigner_short_name": "GitHub_M"
  }
}
ソースに時刻なし、nday が観測
+PAT修正版公開

アドバイザリ記載の修正済みバージョン:tiny-secp256k1 2.2.5、@bitcoin-js/tiny-secp256k1-asmjs 2.2.5。修正コミットへのリンクあり。アドバイザリの公開は 。修正版そのもののリリース日時は記録なし。

出典 ghsa GHSA-hj9c-qx2w-g7mh · nday が にリアルタイムで観測 · 生データ
{
  "id": 489252,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-hj9c-qx2w-g7mh",
  "occurred_at": null,
  "observed_at": "2026-11-19T23:01:42.561574Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-hj9c-qx2w-g7mh",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 6.3,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
      }
    },
    "cwes": [
      {
        "name": "Unchecked Return Value",
        "cwe_id": "CWE-252"
      }
    ],
    "ghsa_id": "GHSA-hj9c-qx2w-g7mh",
    "packages": [
      {
        "name": "tiny-secp256k1",
        "ecosystem": "npm",
        "first_patched_version": "2.2.5",
        "vulnerable_version_range": ">= 2.1.0, < 2.2.5"
      },
      {
        "name": "@bitcoin-js/tiny-secp256k1-asmjs",
        "ecosystem": "npm",
        "first_patched_version": "2.2.5",
        "vulnerable_version_range": ">= 2.2.2, < 2.2.5"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/bitcoinjs/tiny-secp256k1/security/advisories/GHSA-hj9c-qx2w-g7mh",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-107853",
      "https://github.com/bitcoinjs/tiny-secp256k1/commit/ba1af1fceea95967a172c6438ed9302730bb7c01",
      "https://github.com/bitcoinjs/tiny-secp256k1/releases/tag/v2.2.5",
      "https://github.com/advisories/GHSA-hj9c-qx2w-g7mh"
    ],
    "fix_commit_urls": [
      "https://github.com/bitcoinjs/tiny-secp256k1/commit/ba1af1fceea95967a172c6438ed9302730bb7c01"
    ],
    "github_reviewed_at": "2026-11-19T22:43:45Z",
    "advisory_updated_at": "2026-11-19T22:43:46Z",
    "source_code_location": "https://github.com/bitcoinjs/tiny-secp256k1",
    "advisory_published_at": "2026-11-19T22:43:45Z"
  }
}

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.