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

Correctif recensé 2 jours après la divulgation. Versions corrigées : tiny-secp256k1 2.2.5 et @bitcoin-js/tiny-secp256k1-asmjs 2.2.5. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

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
étape actuelle
PAT
divulgation
délai avant correctif
T+2d
CVSS
6.3 MEDIUM v4.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-17T19:23Z
PATcorrectif
11-19T23:01Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 6.3, gravité moyenne. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · observé en direct par nday le · brut
{
  "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"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique les versions corrigées tiny-secp256k1 2.2.5 et @bitcoin-js/tiny-secp256k1-asmjs 2.2.5. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-hj9c-qx2w-g7mh · observé en direct par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.