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

Hay constancia de un parche 2 días después de la divulgación. Versiones corregidas: tiny-secp256k1 2.2.5 y @bitcoin-js/tiny-secp256k1-asmjs 2.2.5. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

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
etapa
PAT
divulgación
divulgación → parche
T+2d
cvss
6.3 MEDIUM v4.0

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
11-17T19:23Z
PATparcheada
11-19T23:01Z
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 6.3, severidad media. La evaluación SSVC de CISA asigna a la explotación el valor poc.

fuente cvelist · nday , observado en tiempo real · en bruto
{
  "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"
  }
}
hora observada en tiempo real por nday
+PATparche registrado

Versiones corregidas según el aviso: tiny-secp256k1 2.2.5 y @bitcoin-js/tiny-secp256k1-asmjs 2.2.5. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-hj9c-qx2w-g7mh · nday , observado en tiempo real · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.